#17512B#17512B
#17512B is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.087 H 151.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #17512B |
|---|---|
| RGB | rgb(23, 81, 43) |
| HSL | hsl(141, 56%, 20%) |
| HSV | hsv(141, 72%, 32%) |
| CMYK | cmyk(71.6%, 0%, 46.9%, 68.2%) |
| CIE-LAB | lab(30.01, -28.39, 17.02) |
| CIE-LCH | lch(30.01, 33.10, 149.06°) |
| OKLab | oklab(38.7% -0.0766 0.042) |
| OKLCH | oklch(38.7% 0.087 151.3) |
| XYZ | xyz(3.7315, 6.2410, 3.2930) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.24
Evergreen
#05472A
ΔE00 4.12
Pine
#2B5D34
ΔE00 4.31
Spruce
#0A5F38
ΔE00 4.81
Forest Green
#2D5A27
ΔE00 5.26
Hunter Green
#355E3B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17512B #51173D
analogous
#205117 #17512B #175148
triadic
#17512B #2B1751 #512B17
tetradic
#17512B #172051 #51173D #514817
square
#17512B #172051 #51173D #514817
split-complementary
#17512B #481751 #511720
monochromatic
#07180D #092112 #17512B #258144 #32B05E
Accessibility & contrast
On white
9.34
#17512B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#17512B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17512B
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17512B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17512B | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A28
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #17512b; /* rgb */ color: rgb(23, 81, 43); /* oklch */ color: oklch(38.7% 0.087 151.3);
Tailwind
colors: {
custom: {
50: '#5c8265',
500: '#17512b',
950: '#000000',
},
}SCSS
$custom: #17512b; $custom-light: #5c8265; $custom-dark: #000000;
JSON
{
"hex": "#17512b",
"rgb": {
"r": 23,
"g": 81,
"b": 43
},
"hsl": {
"h": 140.69,
"s": 55.769,
"l": 20.392
},
"oklch": {
"l": 0.38699,
"c": 0.08739,
"h": 151.3
},
"luminance": 0.06241
}Semantic roles & 50–950 ramp
primary
#17512B
secondary
#883C6E
accent
#49ABDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A