#17522A#17522A
#17522A is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.090 H 150.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #17522A |
|---|---|
| RGB | rgb(23, 82, 42) |
| HSL | hsl(139, 56%, 21%) |
| HSV | hsv(139, 72%, 32%) |
| CMYK | cmyk(72%, 0%, 48.8%, 67.8%) |
| CIE-LAB | lab(30.36, -29.03, 18.07) |
| CIE-LCH | lch(30.36, 34.20, 148.11°) |
| OKLab | oklab(38.98% -0.0783 0.0444) |
| OKLCH | oklch(38.98% 0.09 150.4) |
| XYZ | xyz(3.7883, 6.3835, 3.2225) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.31
Pine
#2B5D34
ΔE00 4.02
Spruce
#0A5F38
ΔE00 4.62
Evergreen
#05472A
ΔE00 4.66
Forest Green
#2D5A27
ΔE00 4.78
Hunter Green
#355E3B
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17522A #52173F
analogous
#215217 #17522A #175247
triadic
#17522A #2A1752 #522A17
tetradic
#17522A #172152 #52173F #524717
square
#17522A #172152 #52173F #524717
split-complementary
#17522A #471752 #521721
monochromatic
#07180C #0A2212 #17522A #248242 #32B25B
Accessibility & contrast
On white
9.22
#17522A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#17522A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17522A
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17522A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17522A | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B27
Deuteranopia (green-blind)
#4B452D
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #17522a; /* rgb */ color: rgb(23, 82, 42); /* oklch */ color: oklch(39.0% 0.090 150.4);
Tailwind
colors: {
custom: {
50: '#5d8364',
500: '#17522a',
950: '#000000',
},
}SCSS
$custom: #17522a; $custom-light: #5d8364; $custom-dark: #000000;
JSON
{
"hex": "#17522a",
"rgb": {
"r": 23,
"g": 82,
"b": 42
},
"hsl": {
"h": 139.322,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.3898,
"c": 0.09003,
"h": 150.4
},
"luminance": 0.06384
}Semantic roles & 50–950 ramp
primary
#17522A
secondary
#893C70
accent
#48AFDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A