#175A1F#175A1F
#175A1F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.113 H 145.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #175A1F |
|---|---|
| RGB | rgb(23, 90, 31) |
| HSL | hsl(127, 59%, 22%) |
| HSV | hsv(127, 74%, 35%) |
| CMYK | cmyk(74.4%, 0%, 65.6%, 64.7%) |
| CIE-LAB | lab(33.12, -34.17, 27.56) |
| CIE-LCH | lch(33.12, 43.90, 141.10°) |
| OKLab | oklab(41.21% -0.0924 0.0647) |
| OKLCH | oklch(41.21% 0.113 145) |
| XYZ | xyz(4.2566, 7.5930, 2.5373) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.63
Forest Green
#2D5A27
ΔE00 3.06
Forest
#0B5509
ΔE00 3.29
Pine
#2B5D34
ΔE00 4.74
Bottle Green
#044A05
ΔE00 5.45
Darkgreen (survey)
#054907
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175A1F #5A1752
analogous
#315A17 #175A1F #175A41
triadic
#175A1F #1F175A #5A1F17
tetradic
#175A1F #17315A #5A1752 #5A4117
square
#175A1F #17315A #5A1752 #5A4117
split-complementary
#175A1F #41175A #5A1731
monochromatic
#061808 #0B290E #175A1F #238B30 #30BB41
Accessibility & contrast
On white
8.34
#175A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#175A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175A1F
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175A1F | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#02584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #175a1f; /* rgb */ color: rgb(23, 90, 31); /* oklch */ color: oklch(41.2% 0.113 145.0);
Tailwind
colors: {
custom: {
50: '#5f895d',
500: '#175a1f',
950: '#000000',
},
}SCSS
$custom: #175a1f; $custom-light: #5f895d; $custom-dark: #000000;
JSON
{
"hex": "#175a1f",
"rgb": {
"r": 23,
"g": 90,
"b": 31
},
"hsl": {
"h": 127.164,
"s": 59.292,
"l": 22.157
},
"oklch": {
"l": 0.41209,
"c": 0.11278,
"h": 145
},
"luminance": 0.07593
}Semantic roles & 50–950 ramp
primary
#175A1F
secondary
#913C87
accent
#45D0E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79