#17701F#17701F
#17701F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.142 H 144.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #17701F |
|---|---|
| RGB | rgb(23, 112, 31) |
| HSL | hsl(125, 66%, 26%) |
| HSV | hsv(125, 79%, 44%) |
| CMYK | cmyk(79.5%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.01, -42.36, 36.25) |
| CIE-LCH | lch(41.01, 55.75, 139.45°) |
| OKLab | oklab(47.75% -0.1146 0.0831) |
| OKLCH | oklch(47.75% 0.142 144) |
| XYZ | xyz(6.3944, 11.8687, 3.2499) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.61
Darkish Green
#287C37
ΔE00 5.02
Tree Green
#2A7E19
ΔE00 5.62
Green
#008000
ΔE00 6.59
Deep Green
#02590F
ΔE00 7.48
Jungle Green
#048243
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17701F #701768
analogous
#3C7017 #17701F #17704C
triadic
#17701F #1F1770 #701F17
tetradic
#17701F #173C70 #701768 #704C17
square
#17701F #173C70 #701768 #704C17
split-complementary
#17701F #4C1770 #70173C
monochromatic
#051907 #0D3D11 #17701F #21A32D #2DD43C
Accessibility & contrast
On white
6.22
#17701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#17701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #17701F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17701F | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #17701f; /* rgb */ color: rgb(23, 112, 31); /* oklch */ color: oklch(47.8% 0.142 144.0);
Tailwind
colors: {
custom: {
50: '#659a5f',
500: '#17701f',
950: '#000000',
},
}SCSS
$custom: #17701f; $custom-light: #659a5f; $custom-dark: #000000;
JSON
{
"hex": "#17701f",
"rgb": {
"r": 23,
"g": 112,
"b": 31
},
"hsl": {
"h": 125.393,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.4775,
"c": 0.14157,
"h": 144
},
"luminance": 0.11869
}Semantic roles & 50–950 ramp
primary
#17701F
secondary
#A63D9C
accent
#3FDAE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79