#17771C#17771C
#17771C is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.152 H 143.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #17771C |
|---|---|
| RGB | rgb(23, 119, 28) |
| HSL | hsl(123, 68%, 28%) |
| HSV | hsv(123, 81%, 47%) |
| CMYK | cmyk(80.7%, 0%, 76.5%, 53.3%) |
| CIE-LAB | lab(43.45, -45.07, 40.02) |
| CIE-LCH | lch(43.45, 60.28, 138.40°) |
| OKLab | oklab(49.77% -0.1221 0.0906) |
| OKLCH | oklch(49.77% 0.152 143.4) |
| XYZ | xyz(7.1593, 13.4588, 3.3189) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.18
Green
#008000
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.21
Dark Grass Green
#388004
ΔE00 5.77
Darkgreen
#006400
ΔE00 6.46
Jungle Green
#048243
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17771C #771772
analogous
#427717 #17771C #17774C
triadic
#17771C #1C1777 #771C17
tetradic
#17771C #174277 #771772 #774C17
square
#17771C #174277 #771772 #774C17
split-complementary
#17771C #4C1777 #771742
monochromatic
#051A06 #0D4410 #17771C #21AA28 #31D73A
Accessibility & contrast
On white
5.69
#17771C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#17771C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #17771C
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17771C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17771C | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #17771c; /* rgb */ color: rgb(23, 119, 28); /* oklch */ color: oklch(49.8% 0.152 143.4);
Tailwind
colors: {
custom: {
50: '#679f5f',
500: '#17771c',
950: '#000000',
},
}SCSS
$custom: #17771c; $custom-light: #679f5f; $custom-dark: #000000;
JSON
{
"hex": "#17771c",
"rgb": {
"r": 23,
"g": 119,
"b": 28
},
"hsl": {
"h": 123.125,
"s": 67.606,
"l": 27.843
},
"oklch": {
"l": 0.4977,
"c": 0.15207,
"h": 143.4
},
"luminance": 0.1346
}Semantic roles & 50–950 ramp
primary
#17771C
secondary
#AC3EA6
accent
#3DE1EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79