#175E21#175E21
#175E21 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.117 H 145.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #175E21 |
|---|---|
| RGB | rgb(23, 94, 33) |
| HSL | hsl(128, 61%, 23%) |
| HSV | hsv(128, 76%, 37%) |
| CMYK | cmyk(75.5%, 0%, 64.9%, 63.1%) |
| CIE-LAB | lab(34.59, -35.47, 28.23) |
| CIE-LCH | lch(34.59, 45.33, 141.49°) |
| OKLab | oklab(42.44% -0.0958 0.0664) |
| OKLCH | oklch(42.44% 0.117 145.3) |
| XYZ | xyz(4.6303, 8.2969, 2.7960) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.89
Forest Green
#2D5A27
ΔE00 3.50
Forest
#0B5509
ΔE00 3.94
Pine
#2B5D34
ΔE00 4.86
Darkgreen
#006400
ΔE00 5.21
Spruce
#0A5F38
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175E21 #5E1754
analogous
#305E17 #175E21 #175E44
triadic
#175E21 #21175E #5E2117
tetradic
#175E21 #17305E #5E1754 #5E4417
square
#175E21 #17305E #5E1754 #5E4417
split-complementary
#175E21 #44175E #5E1730
monochromatic
#061909 #0B2D10 #175E21 #238F32 #2FC044
Accessibility & contrast
On white
7.90
#175E21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#175E21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175E21
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175E21 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #175e21; /* rgb */ color: rgb(23, 94, 33); /* oklch */ color: oklch(42.4% 0.117 145.3);
Tailwind
colors: {
custom: {
50: '#608c5f',
500: '#175e21',
950: '#000000',
},
}SCSS
$custom: #175e21; $custom-light: #608c5f; $custom-dark: #000000;
JSON
{
"hex": "#175e21",
"rgb": {
"r": 23,
"g": 94,
"b": 33
},
"hsl": {
"h": 128.451,
"s": 60.684,
"l": 22.941
},
"oklch": {
"l": 0.42437,
"c": 0.11652,
"h": 145.3
},
"luminance": 0.08297
}Semantic roles & 50–950 ramp
primary
#175E21
secondary
#953C88
accent
#44CDE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79