#175B21#175B21
#175B21 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.112 H 145.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #175B21 |
|---|---|
| RGB | rgb(23, 91, 33) |
| HSL | hsl(129, 60%, 22%) |
| HSV | hsv(129, 75%, 36%) |
| CMYK | cmyk(74.7%, 0%, 63.7%, 64.3%) |
| CIE-LAB | lab(33.51, -34.29, 26.97) |
| CIE-LCH | lch(33.51, 43.62, 141.81°) |
| OKLab | oklab(41.54% -0.0926 0.0637) |
| OKLCH | oklch(41.54% 0.112 145.5) |
| XYZ | xyz(4.3687, 7.7737, 2.7088) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.92
Forest Green
#2D5A27
ΔE00 3.05
Forest
#0B5509
ΔE00 3.68
Pine
#2B5D34
ΔE00 4.48
Spruce
#0A5F38
ΔE00 5.60
Bottle Green
#044A05
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175B21 #5B1751
analogous
#2F5B17 #175B21 #175B43
triadic
#175B21 #21175B #5B2117
tetradic
#175B21 #172F5B #5B1751 #5B4317
square
#175B21 #172F5B #5B1751 #5B4317
split-complementary
#175B21 #43175B #5B172F
monochromatic
#061809 #0B2A0F #175B21 #238C33 #30BD44
Accessibility & contrast
On white
8.22
#175B21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#175B21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175B21
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175B21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175B21 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D521B
Deuteranopia (green-blind)
#544D26
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #175b21; /* rgb */ color: rgb(23, 91, 33); /* oklch */ color: oklch(41.5% 0.112 145.5);
Tailwind
colors: {
custom: {
50: '#5f8a5e',
500: '#175b21',
950: '#000000',
},
}SCSS
$custom: #175b21; $custom-light: #5f8a5e; $custom-dark: #000000;
JSON
{
"hex": "#175b21",
"rgb": {
"r": 23,
"g": 91,
"b": 33
},
"hsl": {
"h": 128.824,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.41537,
"c": 0.11237,
"h": 145.5
},
"luminance": 0.07774
}Semantic roles & 50–950 ramp
primary
#175B21
secondary
#923C85
accent
#45CCE3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79