#1F571D#1F571D
#1F571D is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.107 H 142.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F571D |
|---|---|
| RGB | rgb(31, 87, 29) |
| HSL | hsl(118, 50%, 23%) |
| HSV | hsv(118, 67%, 34%) |
| CMYK | cmyk(64.4%, 0%, 66.7%, 65.9%) |
| CIE-LAB | lab(32.25, -31.27, 27.66) |
| CIE-LCH | lch(32.25, 41.75, 138.51°) |
| OKLab | oklab(40.55% -0.0851 0.0647) |
| OKLCH | oklch(40.55% 0.107 142.8) |
| XYZ | xyz(4.1948, 7.1960, 2.3301) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.42
Forest
#0B5509
ΔE00 3.09
Deep Green
#02590F
ΔE00 3.11
Bottle Green
#044A05
ΔE00 4.74
Darkgreen (survey)
#054907
ΔE00 4.84
Pine
#2B5D34
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F571D #551D57
analogous
#3C571D #1F571D #1D5738
triadic
#1F571D #1D1F57 #571D1F
tetradic
#1F571D #1D3C57 #551D57 #57381D
square
#1F571D #1D3C57 #551D57 #57381D
split-complementary
#1F571D #381D57 #571D3C
monochromatic
#081708 #0F290E #1F571D #2F852C #40B33C
Accessibility & contrast
On white
8.61
#1F571D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F571D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F571D
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F571D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F571D | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#15544B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f571d; /* rgb */ color: rgb(31, 87, 29); /* oklch */ color: oklch(40.6% 0.107 142.8);
Tailwind
colors: {
custom: {
50: '#62875b',
500: '#1f571d',
950: '#000000',
},
}SCSS
$custom: #1f571d; $custom-light: #62875b; $custom-dark: #000000;
JSON
{
"hex": "#1f571d",
"rgb": {
"r": 31,
"g": 87,
"b": 29
},
"hsl": {
"h": 117.931,
"s": 50,
"l": 22.745
},
"oklch": {
"l": 0.4055,
"c": 0.10687,
"h": 142.8
},
"luminance": 0.07196
}Semantic roles & 50–950 ramp
primary
#1F571D
secondary
#8A448C
accent
#4EDAD5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79