#18571E#18571E
#18571E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.109 H 144.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #18571E |
|---|---|
| RGB | rgb(24, 87, 30) |
| HSL | hsl(126, 57%, 22%) |
| HSV | hsv(126, 72%, 34%) |
| CMYK | cmyk(72.4%, 0%, 65.5%, 65.9%) |
| CIE-LAB | lab(32.04, -32.89, 26.85) |
| CIE-LCH | lch(32.04, 42.46, 140.77°) |
| OKLab | oklab(40.32% -0.089 0.0631) |
| OKLCH | oklch(40.32% 0.109 144.7) |
| XYZ | xyz(4.0190, 7.1039, 2.3874) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.94
Deep Green
#02590F
ΔE00 2.96
Forest
#0B5509
ΔE00 3.19
Bottle Green
#044A05
ΔE00 4.73
Pine
#2B5D34
ΔE00 4.76
British Racing Green
#05480D
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18571E #571851
analogous
#325718 #18571E #18573E
triadic
#18571E #1E1857 #571E18
tetradic
#18571E #183257 #571851 #573E18
square
#18571E #183257 #571851 #573E18
split-complementary
#18571E #3E1857 #571832
monochromatic
#071808 #0B270D #18571E #25872F #32B73F
Accessibility & contrast
On white
8.67
#18571E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#18571E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18571E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18571E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18571E | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F18
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#06554B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #18571e; /* rgb */ color: rgb(24, 87, 30); /* oklch */ color: oklch(40.3% 0.109 144.7);
Tailwind
colors: {
custom: {
50: '#5f875c',
500: '#18571e',
950: '#000000',
},
}SCSS
$custom: #18571e; $custom-light: #5f875c; $custom-dark: #000000;
JSON
{
"hex": "#18571e",
"rgb": {
"r": 24,
"g": 87,
"b": 30
},
"hsl": {
"h": 125.714,
"s": 56.757,
"l": 21.765
},
"oklch": {
"l": 0.40321,
"c": 0.10909,
"h": 144.7
},
"luminance": 0.07104
}Semantic roles & 50–950 ramp
primary
#18571E
secondary
#8E3D86
accent
#48D2E0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79