#18771E#18771E
#18771E is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.151 H 143.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #18771E |
|---|---|
| RGB | rgb(24, 119, 30) |
| HSL | hsl(124, 66%, 28%) |
| HSV | hsv(124, 80%, 47%) |
| CMYK | cmyk(79.8%, 0%, 74.8%, 53.3%) |
| CIE-LAB | lab(43.48, -44.74, 39.26) |
| CIE-LCH | lch(43.48, 59.52, 138.73°) |
| OKLab | oklab(49.81% -0.1211 0.0893) |
| OKLCH | oklch(49.81% 0.151 143.6) |
| XYZ | xyz(7.2074, 13.4807, 3.4502) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.28
Darkish Green
#287C37
ΔE00 3.98
Green
#008000
ΔE00 4.27
Dark Grass Green
#388004
ΔE00 5.90
Darkgreen
#006400
ΔE00 6.52
Jungle Green
#048243
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18771E #771871
analogous
#427718 #18771E #18774D
triadic
#18771E #1E1877 #771E18
tetradic
#18771E #184277 #771871 #774D18
square
#18771E #184277 #771871 #774D18
split-complementary
#18771E #4D1877 #771842
monochromatic
#051906 #0E4411 #18771E #22AA2B #33D63E
Accessibility & contrast
On white
5.68
#18771E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#18771E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18771E
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18771E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18771E | 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)
#7A6B0F
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #18771e; /* rgb */ color: rgb(24, 119, 30); /* oklch */ color: oklch(49.8% 0.151 143.6);
Tailwind
colors: {
custom: {
50: '#679f60',
500: '#18771e',
950: '#000000',
},
}SCSS
$custom: #18771e; $custom-light: #679f60; $custom-dark: #000000;
JSON
{
"hex": "#18771e",
"rgb": {
"r": 24,
"g": 119,
"b": 30
},
"hsl": {
"h": 123.789,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.49806,
"c": 0.15052,
"h": 143.6
},
"luminance": 0.13482
}Semantic roles & 50–950 ramp
primary
#18771E
secondary
#AC3FA5
accent
#3EDFE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79