#175C1F#175C1F
#175C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.116 H 144.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #175C1F |
|---|---|
| RGB | rgb(23, 92, 31) |
| HSL | hsl(127, 60%, 23%) |
| HSV | hsv(127, 75%, 36%) |
| CMYK | cmyk(75%, 0%, 66.3%, 63.9%) |
| CIE-LAB | lab(33.85, -34.95, 28.39) |
| CIE-LCH | lch(33.85, 45.03, 140.91°) |
| OKLab | oklab(41.81% -0.0945 0.0665) |
| OKLCH | oklch(41.81% 0.116 144.9) |
| XYZ | xyz(4.4275, 7.9349, 2.5943) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.51
Forest Green
#2D5A27
ΔE00 3.29
Forest
#0B5509
ΔE00 3.41
Pine
#2B5D34
ΔE00 4.94
Darkgreen
#006400
ΔE00 5.37
Bottle Green
#044A05
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175C1F #5C1754
analogous
#315C17 #175C1F #175C42
triadic
#175C1F #1F175C #5C1F17
tetradic
#175C1F #17315C #5C1754 #5C4217
square
#175C1F #17315C #5C1754 #5C4217
split-complementary
#175C1F #42175C #5C1731
monochromatic
#061808 #0B2B0F #175C1F #238D2F #2FBE40
Accessibility & contrast
On white
8.12
#175C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#175C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175C1F
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175C1F | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#564D24
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #175c1f; /* rgb */ color: rgb(23, 92, 31); /* oklch */ color: oklch(41.8% 0.116 144.9);
Tailwind
colors: {
custom: {
50: '#608b5d',
500: '#175c1f',
950: '#000000',
},
}SCSS
$custom: #175c1f; $custom-light: #608b5d; $custom-dark: #000000;
JSON
{
"hex": "#175c1f",
"rgb": {
"r": 23,
"g": 92,
"b": 31
},
"hsl": {
"h": 126.957,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.41811,
"c": 0.11554,
"h": 144.9
},
"luminance": 0.07935
}Semantic roles & 50–950 ramp
primary
#175C1F
secondary
#933C89
accent
#45D1E3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79