#173F0F#173F0F
#173F0F is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.088 H 140.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #173F0F |
|---|---|
| RGB | rgb(23, 63, 15) |
| HSL | hsl(110, 62%, 15%) |
| HSV | hsv(110, 76%, 25%) |
| CMYK | cmyk(63.5%, 0%, 76.2%, 75.3%) |
| CIE-LAB | lab(22.90, -24.82, 24.33) |
| CIE-LCH | lch(22.90, 34.75, 135.57°) |
| OKLab | oklab(32.71% -0.068 0.0559) |
| OKLCH | oklch(32.71% 0.088 140.6) |
| XYZ | xyz(2.2170, 3.7715, 1.0630) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green (survey)
#0B4008
ΔE00 1.96
Forrest Green
#154406
ΔE00 2.84
Dark Green
#033500
ΔE00 3.49
Forest Green (survey)
#06470C
ΔE00 3.70
British Racing Green
#05480D
ΔE00 3.97
Pine Green
#0A481E
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F0F #370F3F
analogous
#2F3F0F #173F0F #0F3F1F
triadic
#173F0F #0F173F #3F0F17
tetradic
#173F0F #0F2F3F #370F3F #3F1F0F
square
#173F0F #0F2F3F #370F3F #3F1F0F
split-complementary
#173F0F #1F0F3F #3F0F2F
monochromatic
#091906 #091906 #173F0F #29701B #3BA227
Accessibility & contrast
On white
11.97
#173F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#173F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F0F
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F0F | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413909
Deuteranopia (green-blind)
#3C3513
Tritanopia (blue-blind)
#123D35
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #173f0f; /* rgb */ color: rgb(23, 63, 15); /* oklch */ color: oklch(32.7% 0.088 140.6);
Tailwind
colors: {
custom: {
50: '#597450',
500: '#173f0f',
950: '#000000',
},
}SCSS
$custom: #173f0f; $custom-light: #597450; $custom-dark: #000000;
JSON
{
"hex": "#173f0f",
"rgb": {
"r": 23,
"g": 63,
"b": 15
},
"hsl": {
"h": 110,
"s": 61.538,
"l": 15.294
},
"oklch": {
"l": 0.32709,
"c": 0.08801,
"h": 140.6
},
"luminance": 0.03772
}Semantic roles & 50–950 ramp
primary
#173F0F
secondary
#6D3079
accent
#43E5CA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78