#17542B#17542B
#17542B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.092 H 150.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #17542B |
|---|---|
| RGB | rgb(23, 84, 43) |
| HSL | hsl(140, 57%, 21%) |
| HSV | hsv(140, 73%, 33%) |
| CMYK | cmyk(72.6%, 0%, 48.8%, 67.1%) |
| CIE-LAB | lab(31.11, -29.72, 18.43) |
| CIE-LCH | lch(31.11, 34.97, 148.19°) |
| OKLab | oklab(39.6% -0.0801 0.0453) |
| OKLCH | oklch(39.6% 0.092 150.5) |
| XYZ | xyz(3.9594, 6.6968, 3.3690) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.54
Pine Green
#0A481E
ΔE00 3.86
Spruce
#0A5F38
ΔE00 4.08
Forest Green
#2D5A27
ΔE00 4.45
Hunter Green
#355E3B
ΔE00 5.19
Evergreen
#05472A
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17542B #541740
analogous
#215417 #17542B #175449
triadic
#17542B #2B1754 #542B17
tetradic
#17542B #172154 #541740 #544917
square
#17542B #172154 #541740 #544917
split-complementary
#17542B #491754 #541721
monochromatic
#07180C #0A2412 #17542B #248444 #31B45C
Accessibility & contrast
On white
8.98
#17542B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#17542B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17542B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17542B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17542B | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #17542b; /* rgb */ color: rgb(23, 84, 43); /* oklch */ color: oklch(39.6% 0.092 150.5);
Tailwind
colors: {
custom: {
50: '#5d8565',
500: '#17542b',
950: '#000000',
},
}SCSS
$custom: #17542b; $custom-light: #5d8565; $custom-dark: #000000;
JSON
{
"hex": "#17542b",
"rgb": {
"r": 23,
"g": 84,
"b": 43
},
"hsl": {
"h": 139.672,
"s": 57.009,
"l": 20.98
},
"oklch": {
"l": 0.39601,
"c": 0.09203,
"h": 150.5
},
"luminance": 0.06697
}Semantic roles & 50–950 ramp
primary
#17542B
secondary
#8B3C71
accent
#48AEE0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A