#175B20#175B20
#175B20 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.113 H 145.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #175B20 |
|---|---|
| RGB | rgb(23, 91, 32) |
| HSL | hsl(128, 60%, 22%) |
| HSV | hsv(128, 75%, 36%) |
| CMYK | cmyk(74.7%, 0%, 64.8%, 64.3%) |
| CIE-LAB | lab(33.50, -34.42, 27.48) |
| CIE-LCH | lch(33.50, 44.05, 141.40°) |
| OKLab | oklab(41.52% -0.093 0.0647) |
| OKLCH | oklch(41.52% 0.113 145.2) |
| XYZ | xyz(4.3549, 7.7681, 2.6361) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.73
Forest Green
#2D5A27
ΔE00 3.10
Forest
#0B5509
ΔE00 3.50
Pine
#2B5D34
ΔE00 4.65
Bottle Green
#044A05
ΔE00 5.76
Spruce
#0A5F38
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175B20 #5B1752
analogous
#305B17 #175B20 #175B42
triadic
#175B20 #20175B #5B2017
tetradic
#175B20 #17305B #5B1752 #5B4217
square
#175B20 #17305B #5B1752 #5B4217
split-complementary
#175B20 #42175B #5B1730
monochromatic
#061809 #0B2A0F #175B20 #238C31 #30BD42
Accessibility & contrast
On white
8.22
#175B20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#175B20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175B20
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175B20 | 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)
#5D521A
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #175b20; /* rgb */ color: rgb(23, 91, 32); /* oklch */ color: oklch(41.5% 0.113 145.2);
Tailwind
colors: {
custom: {
50: '#5f8a5e',
500: '#175b20',
950: '#000000',
},
}SCSS
$custom: #175b20; $custom-light: #5f8a5e; $custom-dark: #000000;
JSON
{
"hex": "#175b20",
"rgb": {
"r": 23,
"g": 91,
"b": 32
},
"hsl": {
"h": 127.941,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.41524,
"c": 0.11327,
"h": 145.2
},
"luminance": 0.07769
}Semantic roles & 50–950 ramp
primary
#175B20
secondary
#923C86
accent
#45CEE3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79