#175F21#175F21
#175F21 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.118 H 145.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #175F21 |
|---|---|
| RGB | rgb(23, 95, 33) |
| HSL | hsl(128, 61%, 23%) |
| HSV | hsv(128, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 65.3%, 62.7%) |
| CIE-LAB | lab(34.95, -35.85, 28.64) |
| CIE-LCH | lch(34.95, 45.89, 141.38°) |
| OKLab | oklab(42.74% -0.0968 0.0672) |
| OKLCH | oklch(42.74% 0.118 145.2) |
| XYZ | xyz(4.7198, 8.4759, 2.8258) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.97
Forest Green
#2D5A27
ΔE00 3.70
Forest
#0B5509
ΔE00 4.08
Darkgreen
#006400
ΔE00 4.96
Pine
#2B5D34
ΔE00 5.03
Spruce
#0A5F38
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F21 #5F1755
analogous
#315F17 #175F21 #175F45
triadic
#175F21 #21175F #5F2117
tetradic
#175F21 #17315F #5F1755 #5F4517
square
#175F21 #17315F #5F1755 #5F4517
split-complementary
#175F21 #45175F #5F1731
monochromatic
#061909 #0B2E10 #175F21 #239032 #2FC243
Accessibility & contrast
On white
7.79
#175F21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#175F21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F21
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F21 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61561A
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #175f21; /* rgb */ color: rgb(23, 95, 33); /* oklch */ color: oklch(42.7% 0.118 145.2);
Tailwind
colors: {
custom: {
50: '#608d5f',
500: '#175f21',
950: '#000000',
},
}SCSS
$custom: #175f21; $custom-light: #608d5f; $custom-dark: #000000;
JSON
{
"hex": "#175f21",
"rgb": {
"r": 23,
"g": 95,
"b": 33
},
"hsl": {
"h": 128.333,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42736,
"c": 0.11789,
"h": 145.2
},
"luminance": 0.08476
}Semantic roles & 50–950 ramp
primary
#175F21
secondary
#963C89
accent
#44CEE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79