#17771F#17771F
#17771F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.150 H 143.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #17771F |
|---|---|
| RGB | rgb(23, 119, 31) |
| HSL | hsl(125, 68%, 28%) |
| HSV | hsv(125, 81%, 47%) |
| CMYK | cmyk(80.7%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.47, -44.80, 38.84) |
| CIE-LCH | lch(43.47, 59.29, 139.08°) |
| OKLab | oklab(49.8% -0.1212 0.0886) |
| OKLCH | oklch(49.8% 0.15 143.8) |
| XYZ | xyz(7.1970, 13.4739, 3.5175) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.39
Darkish Green
#287C37
ΔE00 3.86
Green
#008000
ΔE00 4.37
Dark Grass Green
#388004
ΔE00 6.05
Darkgreen
#006400
ΔE00 6.54
Jungle Green
#048243
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17771F #77176F
analogous
#3F7717 #17771F #17774F
triadic
#17771F #1F1777 #771F17
tetradic
#17771F #173F77 #77176F #774F17
square
#17771F #173F77 #77176F #774F17
split-complementary
#17771F #4F1777 #77173F
monochromatic
#051A07 #0D4412 #17771F #21AA2C #31D73F
Accessibility & contrast
On white
5.68
#17771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#17771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #17771F
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17771F | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #17771f; /* rgb */ color: rgb(23, 119, 31); /* oklch */ color: oklch(49.8% 0.150 143.8);
Tailwind
colors: {
custom: {
50: '#679f60',
500: '#17771f',
950: '#000000',
},
}SCSS
$custom: #17771f; $custom-light: #679f60; $custom-dark: #000000;
JSON
{
"hex": "#17771f",
"rgb": {
"r": 23,
"g": 119,
"b": 31
},
"hsl": {
"h": 125,
"s": 67.606,
"l": 27.843
},
"oklch": {
"l": 0.49795,
"c": 0.15012,
"h": 143.8
},
"luminance": 0.13475
}Semantic roles & 50–950 ramp
primary
#17771F
secondary
#AC3EA3
accent
#3DDCEA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79