#175F20#175F20
#175F20 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.119 H 145.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #175F20 |
|---|---|
| RGB | rgb(23, 95, 32) |
| HSL | hsl(128, 61%, 23%) |
| HSV | hsv(128, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 66.3%, 62.7%) |
| CIE-LAB | lab(34.94, -35.98, 29.13) |
| CIE-LCH | lch(34.94, 46.30, 141.01°) |
| OKLab | oklab(42.72% -0.0972 0.0682) |
| OKLCH | oklch(42.72% 0.119 145) |
| XYZ | xyz(4.7060, 8.4703, 2.7531) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.83
Forest Green
#2D5A27
ΔE00 3.76
Forest
#0B5509
ΔE00 3.96
Darkgreen
#006400
ΔE00 4.78
Pine
#2B5D34
ΔE00 5.20
Spruce
#0A5F38
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F20 #5F1756
analogous
#325F17 #175F20 #175F44
triadic
#175F20 #20175F #5F2017
tetradic
#175F20 #17325F #5F1756 #5F4417
square
#175F20 #17325F #5F1756 #5F4417
split-complementary
#175F20 #44175F #5F1732
monochromatic
#061908 #0B2E0F #175F20 #239031 #2FC241
Accessibility & contrast
On white
7.79
#175F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#175F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F20
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F20 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #175f20; /* rgb */ color: rgb(23, 95, 32); /* oklch */ color: oklch(42.7% 0.119 145.0);
Tailwind
colors: {
custom: {
50: '#608d5e',
500: '#175f20',
950: '#000000',
},
}SCSS
$custom: #175f20; $custom-light: #608d5e; $custom-dark: #000000;
JSON
{
"hex": "#175f20",
"rgb": {
"r": 23,
"g": 95,
"b": 32
},
"hsl": {
"h": 127.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42723,
"c": 0.11877,
"h": 145
},
"luminance": 0.08471
}Semantic roles & 50–950 ramp
primary
#175F20
secondary
#963C8B
accent
#44D0E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79