#175A1C#175A1C
#175A1C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.115 H 144.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #175A1C |
|---|---|
| RGB | rgb(23, 90, 28) |
| HSL | hsl(124, 59%, 22%) |
| HSV | hsv(124, 74%, 35%) |
| CMYK | cmyk(74.4%, 0%, 68.9%, 64.7%) |
| CIE-LAB | lab(33.09, -34.55, 29.04) |
| CIE-LCH | lch(33.09, 45.14, 139.96°) |
| OKLab | oklab(41.17% -0.0935 0.0676) |
| OKLCH | oklch(41.17% 0.115 144.2) |
| XYZ | xyz(4.2188, 7.5779, 2.3387) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.12
Forest
#0B5509
ΔE00 2.78
Forest Green
#2D5A27
ΔE00 3.28
Bottle Green
#044A05
ΔE00 5.23
Pine
#2B5D34
ΔE00 5.26
Darkgreen (survey)
#054907
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175A1C #5A1755
analogous
#335A17 #175A1C #175A3E
triadic
#175A1C #1C175A #5A1C17
tetradic
#175A1C #17335A #5A1755 #5A3E17
square
#175A1C #17335A #5A1755 #5A3E17
split-complementary
#175A1C #3E175A #5A1733
monochromatic
#061808 #0B290D #175A1C #238B2B #30BB3A
Accessibility & contrast
On white
8.35
#175A1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#175A1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175A1C
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175A1C | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#03574D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #175a1c; /* rgb */ color: rgb(23, 90, 28); /* oklch */ color: oklch(41.2% 0.115 144.2);
Tailwind
colors: {
custom: {
50: '#5f895b',
500: '#175a1c',
950: '#000000',
},
}SCSS
$custom: #175a1c; $custom-light: #5f895b; $custom-dark: #000000;
JSON
{
"hex": "#175a1c",
"rgb": {
"r": 23,
"g": 90,
"b": 28
},
"hsl": {
"h": 124.478,
"s": 59.292,
"l": 22.157
},
"oklch": {
"l": 0.41172,
"c": 0.11539,
"h": 144.2
},
"luminance": 0.07578
}Semantic roles & 50–950 ramp
primary
#175A1C
secondary
#913C8B
accent
#45D7E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79