#17571F#17571F
#17571F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.109 H 145.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #17571F |
|---|---|
| RGB | rgb(23, 87, 31) |
| HSL | hsl(128, 58%, 22%) |
| HSV | hsv(128, 74%, 34%) |
| CMYK | cmyk(73.6%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.03, -32.97, 26.31) |
| CIE-LCH | lch(32.03, 42.18, 141.41°) |
| OKLab | oklab(40.3% -0.0891 0.062) |
| OKLCH | oklch(40.3% 0.109 145.2) |
| XYZ | xyz(4.0086, 7.0971, 2.4547) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.98
Deep Green
#02590F
ΔE00 3.13
Forest
#0B5509
ΔE00 3.40
Pine
#2B5D34
ΔE00 4.62
British Racing Green
#05480D
ΔE00 4.81
Bottle Green
#044A05
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17571F #57174F
analogous
#2F5717 #17571F #17573F
triadic
#17571F #1F1757 #571F17
tetradic
#17571F #172F57 #57174F #573F17
square
#17571F #172F57 #57174F #573F17
split-complementary
#17571F #3F1757 #57172F
monochromatic
#061809 #0A270E #17571F #248730 #31B841
Accessibility & contrast
On white
8.68
#17571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#17571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17571F
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17571F | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#03554B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #17571f; /* rgb */ color: rgb(23, 87, 31); /* oklch */ color: oklch(40.3% 0.109 145.2);
Tailwind
colors: {
custom: {
50: '#5e875d',
500: '#17571f',
950: '#000000',
},
}SCSS
$custom: #17571f; $custom-light: #5e875d; $custom-dark: #000000;
JSON
{
"hex": "#17571f",
"rgb": {
"r": 23,
"g": 87,
"b": 31
},
"hsl": {
"h": 127.5,
"s": 58.182,
"l": 21.569
},
"oklch": {
"l": 0.40304,
"c": 0.10858,
"h": 145.2
},
"luminance": 0.07097
}Semantic roles & 50–950 ramp
primary
#17571F
secondary
#8E3C84
accent
#46CEE1
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79