#175F1F#175F1F
#175F1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.120 H 144.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #175F1F |
|---|---|
| RGB | rgb(23, 95, 31) |
| HSL | hsl(127, 61%, 23%) |
| HSV | hsv(127, 76%, 37%) |
| CMYK | cmyk(75.8%, 0%, 67.4%, 62.7%) |
| CIE-LAB | lab(34.93, -36.11, 29.62) |
| CIE-LCH | lch(34.93, 46.71, 140.64°) |
| OKLab | oklab(42.71% -0.0976 0.0691) |
| OKLCH | oklch(42.71% 0.12 144.7) |
| XYZ | xyz(4.6926, 8.4650, 2.6827) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.71
Forest Green
#2D5A27
ΔE00 3.84
Forest
#0B5509
ΔE00 3.84
Darkgreen
#006400
ΔE00 4.60
Pine
#2B5D34
ΔE00 5.37
Spruce
#0A5F38
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175F1F #5F1757
analogous
#335F17 #175F1F #175F43
triadic
#175F1F #1F175F #5F1F17
tetradic
#175F1F #17335F #5F1757 #5F4317
square
#175F1F #17335F #5F1757 #5F4317
split-complementary
#175F1F #43175F #5F1733
monochromatic
#061908 #0B2E0F #175F1F #23902F #2FC23F
Accessibility & contrast
On white
7.80
#175F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#175F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175F1F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175F1F | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #175f1f; /* rgb */ color: rgb(23, 95, 31); /* oklch */ color: oklch(42.7% 0.120 144.7);
Tailwind
colors: {
custom: {
50: '#608d5d',
500: '#175f1f',
950: '#000000',
},
}SCSS
$custom: #175f1f; $custom-light: #608d5d; $custom-dark: #000000;
JSON
{
"hex": "#175f1f",
"rgb": {
"r": 23,
"g": 95,
"b": 31
},
"hsl": {
"h": 126.667,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.42711,
"c": 0.11963,
"h": 144.7
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#175F1F
secondary
#963C8C
accent
#44D2E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79