#18571F#18571F
#18571F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.108 H 145.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #18571F |
|---|---|
| RGB | rgb(24, 87, 31) |
| HSL | hsl(127, 57%, 22%) |
| HSV | hsv(127, 72%, 34%) |
| CMYK | cmyk(72.4%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.05, -32.75, 26.34) |
| CIE-LCH | lch(32.05, 42.03, 141.19°) |
| OKLab | oklab(40.34% -0.0886 0.0621) |
| OKLCH | oklch(40.34% 0.108 145) |
| XYZ | xyz(4.0319, 7.1091, 2.4558) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.89
Deep Green
#02590F
ΔE00 3.15
Forest
#0B5509
ΔE00 3.39
Pine
#2B5D34
ΔE00 4.59
British Racing Green
#05480D
ΔE00 4.82
Bottle Green
#044A05
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18571F #571850
analogous
#315718 #18571F #18573F
triadic
#18571F #1F1857 #571F18
tetradic
#18571F #183157 #571850 #573F18
square
#18571F #183157 #571850 #573F18
split-complementary
#18571F #3F1857 #571831
monochromatic
#071809 #0B270E #18571F #258730 #32B741
Accessibility & contrast
On white
8.67
#18571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#18571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18571F
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18571F | 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)
#594F19
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#06554B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #18571f; /* rgb */ color: rgb(24, 87, 31); /* oklch */ color: oklch(40.3% 0.108 145.0);
Tailwind
colors: {
custom: {
50: '#5f875d',
500: '#18571f',
950: '#000000',
},
}SCSS
$custom: #18571f; $custom-light: #5f875d; $custom-dark: #000000;
JSON
{
"hex": "#18571f",
"rgb": {
"r": 24,
"g": 87,
"b": 31
},
"hsl": {
"h": 126.667,
"s": 56.757,
"l": 21.765
},
"oklch": {
"l": 0.40335,
"c": 0.10817,
"h": 145
},
"luminance": 0.0711
}Semantic roles & 50–950 ramp
primary
#18571F
secondary
#8E3D85
accent
#48CFE0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79