#175F2F#175F2F
#175F2F is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.104 H 150.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #175F2F |
|---|---|
| RGB | rgb(23, 95, 47) |
| HSL | hsl(140, 61%, 23%) |
| HSV | hsv(140, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 50.5%, 62.7%) |
| CIE-LAB | lab(35.15, -33.63, 21.25) |
| CIE-LCH | lch(35.15, 39.78, 147.72°) |
| OKLab | oklab(42.96% -0.0905 0.0519) |
| OKLCH | oklch(42.96% 0.104 150.2) |
| XYZ | xyz(4.9582, 8.5713, 4.0819) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.82
Pine
#2B5D34
ΔE00 2.86
Forest Green
#2D5A27
ΔE00 4.03
Hunter Green
#355E3B
ΔE00 4.99
Deep Green
#02590F
ΔE00 5.70
Forest
#0B5509
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F2F #5F1747
analogous
#235F17 #175F2F #175F53
triadic
#175F2F #2F175F #5F2F17
tetradic
#175F2F #17235F #5F1747 #5F5317
square
#175F2F #17235F #5F1747 #5F5317
split-complementary
#175F2F #53175F #5F1723
monochromatic
#06190C #0B2E17 #175F2F #239047 #2FC260
Accessibility & contrast
On white
7.74
#175F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#175F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F2F
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F2F | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #175f2f; /* rgb */ color: rgb(23, 95, 47); /* oklch */ color: oklch(43.0% 0.104 150.2);
Tailwind
colors: {
custom: {
50: '#608d68',
500: '#175f2f',
950: '#000000',
},
}SCSS
$custom: #175f2f; $custom-light: #608d68; $custom-dark: #000000;
JSON
{
"hex": "#175f2f",
"rgb": {
"r": 23,
"g": 95,
"b": 47
},
"hsl": {
"h": 140,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42955,
"c": 0.10436,
"h": 150.2
},
"luminance": 0.08572
}Semantic roles & 50–950 ramp
primary
#175F2F
secondary
#963C78
accent
#44AFE4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A