#175A2F#175A2F
#175A2F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.097 H 151.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #175A2F |
|---|---|
| RGB | rgb(23, 90, 47) |
| HSL | hsl(141, 59%, 22%) |
| HSV | hsv(141, 74%, 35%) |
| CMYK | cmyk(74.4%, 0%, 47.8%, 64.7%) |
| CIE-LAB | lab(33.35, -31.53, 18.95) |
| CIE-LCH | lch(33.35, 36.79, 148.99°) |
| OKLab | oklab(41.47% -0.085 0.0466) |
| OKLCH | oklch(41.47% 0.097 151.2) |
| XYZ | xyz(4.5222, 7.6992, 3.9365) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.56
Spruce
#0A5F38
ΔE00 2.56
Forest Green
#2D5A27
ΔE00 4.14
Hunter Green
#355E3B
ΔE00 4.58
Pine Green
#0A481E
ΔE00 5.68
Deep Green
#02590F
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175A2F #5A1742
analogous
#205A17 #175A2F #175A51
triadic
#175A2F #2F175A #5A2F17
tetradic
#175A2F #17205A #5A1742 #5A5117
square
#175A2F #17205A #5A1742 #5A5117
split-complementary
#175A2F #51175A #5A1720
monochromatic
#06180D #0B2916 #175A2F #238B48 #30BB62
Accessibility & contrast
On white
8.27
#175A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#175A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175A2F
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175A2F | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#524C32
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #175a2f; /* rgb */ color: rgb(23, 90, 47); /* oklch */ color: oklch(41.5% 0.097 151.2);
Tailwind
colors: {
custom: {
50: '#5e8968',
500: '#175a2f',
950: '#000000',
},
}SCSS
$custom: #175a2f; $custom-light: #5e8968; $custom-dark: #000000;
JSON
{
"hex": "#175a2f",
"rgb": {
"r": 23,
"g": 90,
"b": 47
},
"hsl": {
"h": 141.493,
"s": 59.292,
"l": 22.157
},
"oklch": {
"l": 0.41472,
"c": 0.09692,
"h": 151.2
},
"luminance": 0.077
}Semantic roles & 50–950 ramp
primary
#175A2F
secondary
#913C72
accent
#45AAE2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A