#175B2A#175B2A
#175B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.104 H 148.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #175B2A |
|---|---|
| RGB | rgb(23, 91, 42) |
| HSL | hsl(137, 60%, 22%) |
| HSV | hsv(137, 75%, 36%) |
| CMYK | cmyk(74.7%, 0%, 53.8%, 64.3%) |
| CIE-LAB | lab(33.63, -32.87, 22.19) |
| CIE-LCH | lch(33.63, 39.66, 145.97°) |
| OKLab | oklab(41.68% -0.0885 0.0538) |
| OKLCH | oklch(41.68% 0.104 148.7) |
| XYZ | xyz(4.5120, 7.8310, 3.4638) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.98
Forest Green
#2D5A27
ΔE00 3.32
Spruce
#0A5F38
ΔE00 3.62
Deep Green
#02590F
ΔE00 4.90
Hunter Green
#355E3B
ΔE00 5.23
Forest
#0B5509
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175B2A #5B1748
analogous
#265B17 #175B2A #175B4C
triadic
#175B2A #2A175B #5B2A17
tetradic
#175B2A #17265B #5B1748 #5B4C17
square
#175B2A #17265B #5B1748 #5B4C17
split-complementary
#175B2A #4C175B #5B1726
monochromatic
#06180B #0B2A13 #175B2A #238C41 #30BD57
Accessibility & contrast
On white
8.18
#175B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#175B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175B2A
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175B2A | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5326
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #175b2a; /* rgb */ color: rgb(23, 91, 42); /* oklch */ color: oklch(41.7% 0.104 148.7);
Tailwind
colors: {
custom: {
50: '#5f8a64',
500: '#175b2a',
950: '#000000',
},
}SCSS
$custom: #175b2a; $custom-light: #5f8a64; $custom-dark: #000000;
JSON
{
"hex": "#175b2a",
"rgb": {
"r": 23,
"g": 91,
"b": 42
},
"hsl": {
"h": 136.765,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.41677,
"c": 0.10361,
"h": 148.7
},
"luminance": 0.07831
}Semantic roles & 50–950 ramp
primary
#175B2A
secondary
#923C7A
accent
#45B7E3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A