#18771F#18771F
#18771F 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 | #18771F |
|---|---|
| RGB | rgb(24, 119, 31) |
| HSL | hsl(124, 66%, 28%) |
| HSV | hsv(124, 80%, 47%) |
| CMYK | cmyk(79.8%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.49, -44.65, 38.86) |
| CIE-LCH | lch(43.49, 59.19, 138.97°) |
| OKLab | oklab(49.82% -0.1208 0.0886) |
| OKLCH | oklch(49.82% 0.15 143.8) |
| XYZ | xyz(7.2204, 13.4859, 3.5186) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.35
Darkish Green
#287C37
ΔE00 3.86
Green
#008000
ΔE00 4.37
Dark Grass Green
#388004
ΔE00 6.00
Darkgreen
#006400
ΔE00 6.55
Jungle Green
#048243
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18771F #771870
analogous
#407718 #18771F #18774E
triadic
#18771F #1F1877 #771F18
tetradic
#18771F #184077 #771870 #774E18
square
#18771F #184077 #771870 #774E18
split-complementary
#18771F #4E1877 #771840
monochromatic
#051907 #0E4412 #18771F #22AA2C #33D63F
Accessibility & contrast
On white
5.68
#18771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#18771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18771F
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18771F | 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)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #18771f; /* rgb */ color: rgb(24, 119, 31); /* oklch */ color: oklch(49.8% 0.150 143.8);
Tailwind
colors: {
custom: {
50: '#679f60',
500: '#18771f',
950: '#000000',
},
}SCSS
$custom: #18771f; $custom-light: #679f60; $custom-dark: #000000;
JSON
{
"hex": "#18771f",
"rgb": {
"r": 24,
"g": 119,
"b": 31
},
"hsl": {
"h": 124.421,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.49815,
"c": 0.14985,
"h": 143.8
},
"luminance": 0.13487
}Semantic roles & 50–950 ramp
primary
#18771F
secondary
#AC3FA4
accent
#3EDDE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79