#175F28#175F28
#175F28 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.111 H 147.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #175F28 |
|---|---|
| RGB | rgb(23, 95, 40) |
| HSL | hsl(134, 61%, 23%) |
| HSV | hsv(134, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(35.04, -34.83, 25.04) |
| CIE-LCH | lch(35.04, 42.90, 144.29°) |
| OKLab | oklab(42.84% -0.0938 0.06) |
| OKLCH | oklch(42.84% 0.111 147.4) |
| XYZ | xyz(4.8282, 8.5192, 3.3970) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.52
Pine
#2B5D34
ΔE00 3.84
Deep Green
#02590F
ΔE00 4.16
Spruce
#0A5F38
ΔE00 4.49
Forest
#0B5509
ΔE00 5.18
Hunter Green
#355E3B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F28 #5F174E
analogous
#2A5F17 #175F28 #175F4C
triadic
#175F28 #28175F #5F2817
tetradic
#175F28 #172A5F #5F174E #5F4C17
square
#175F28 #172A5F #5F174E #5F4C17
split-complementary
#175F28 #4C175F #5F172A
monochromatic
#06190A #0B2E13 #175F28 #23903D #2FC251
Accessibility & contrast
On white
7.77
#175F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#175F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F28
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F28 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #175f28; /* rgb */ color: rgb(23, 95, 40); /* oklch */ color: oklch(42.8% 0.111 147.4);
Tailwind
colors: {
custom: {
50: '#608d63',
500: '#175f28',
950: '#000000',
},
}SCSS
$custom: #175f28; $custom-light: #608d63; $custom-dark: #000000;
JSON
{
"hex": "#175f28",
"rgb": {
"r": 23,
"g": 95,
"b": 40
},
"hsl": {
"h": 134.167,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42836,
"c": 0.11138,
"h": 147.4
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#175F28
secondary
#963C81
accent
#44BEE4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A