---
title: "#1F5C40 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #1F5C40 — RGB(31, 92, 64), HSL(152, 50%, 24%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/1f5c40
---
Custom color

# #1F5C40

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

152°

Sat

50%

Light

24%

Shades & tints

CSS variables

CSS

```
/* #1F5C40 */
:root {
  --color--1f5c40: #1F5C40;
  --color--1f5c40-rgb: 31, 92, 64;
  --color--1f5c40-hsl: 152, 50%, 24%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F5C40

#5C1F3B

Analogous

#1F5C21

#1F5C40

#1F5A5C

Triadic

#1F5C40

#3F1F5C

#5C3F1F

Split complementary

#1F5C40

#5C1F5A

#5C211F

WCAG contrast

Aa

The quick brown fox.

7.89

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

2.66

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Green Pea

#1D6142

Eucalyptus

#278A5B

Everglade

#1C402E

Jewel

#126B40

Sea Green

#2E8B57

Black Bean

#081910

Bush

#0D2E1C

Ocean Green

#41AA78

Celtic

#163222

Amazon

#3B7A57

Bottle Green

#093624

Salem

#097F4B

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
