#17542C#17542C
#17542C is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.091 H 151.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #17542C |
|---|---|
| RGB | rgb(23, 84, 44) |
| HSL | hsl(141, 57%, 21%) |
| HSV | hsv(141, 73%, 33%) |
| CMYK | cmyk(72.6%, 0%, 47.6%, 67.1%) |
| CIE-LAB | lab(31.12, -29.52, 17.86) |
| CIE-LCH | lch(31.12, 34.50, 148.83°) |
| OKLab | oklab(39.62% -0.0796 0.044) |
| OKLCH | oklch(39.62% 0.091 151.1) |
| XYZ | xyz(3.9780, 6.7042, 3.4668) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.55
Pine Green
#0A481E
ΔE00 3.93
Spruce
#0A5F38
ΔE00 3.98
Forest Green
#2D5A27
ΔE00 4.64
Evergreen
#05472A
ΔE00 5.04
Hunter Green
#355E3B
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17542C #54173F
analogous
#205417 #17542C #17544A
triadic
#17542C #2C1754 #542C17
tetradic
#17542C #172054 #54173F #544A17
square
#17542C #172054 #54173F #544A17
split-complementary
#17542C #4A1754 #541720
monochromatic
#07180D #0A2413 #17542C #248445 #31B45E
Accessibility & contrast
On white
8.97
#17542C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#17542C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17542C
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17542C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17542C | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #17542c; /* rgb */ color: rgb(23, 84, 44); /* oklch */ color: oklch(39.6% 0.091 151.1);
Tailwind
colors: {
custom: {
50: '#5d8565',
500: '#17542c',
950: '#000000',
},
}SCSS
$custom: #17542c; $custom-light: #5d8565; $custom-dark: #000000;
JSON
{
"hex": "#17542c",
"rgb": {
"r": 23,
"g": 84,
"b": 44
},
"hsl": {
"h": 140.656,
"s": 57.009,
"l": 20.98
},
"oklch": {
"l": 0.39621,
"c": 0.09097,
"h": 151.1
},
"luminance": 0.06705
}Semantic roles & 50–950 ramp
primary
#17542C
secondary
#8B3C70
accent
#48ACE0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A