#18771C#18771C
#18771C is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.152 H 143.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #18771C |
|---|---|
| RGB | rgb(24, 119, 28) |
| HSL | hsl(123, 66%, 28%) |
| HSV | hsv(123, 80%, 47%) |
| CMYK | cmyk(79.8%, 0%, 76.5%, 53.3%) |
| CIE-LAB | lab(43.46, -44.92, 40.04) |
| CIE-LCH | lch(43.46, 60.18, 138.29°) |
| OKLab | oklab(49.79% -0.1217 0.0907) |
| OKLCH | oklch(49.79% 0.152 143.3) |
| XYZ | xyz(7.1827, 13.4708, 3.3200) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.15
Green
#008000
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.21
Dark Grass Green
#388004
ΔE00 5.72
Darkgreen
#006400
ΔE00 6.46
Jungle Green
#048243
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18771C #771873
analogous
#437718 #18771C #18774B
triadic
#18771C #1C1877 #771C18
tetradic
#18771C #184377 #771873 #774B18
square
#18771C #184377 #771873 #774B18
split-complementary
#18771C #4B1877 #771843
monochromatic
#051906 #0E4410 #18771C #22AA28 #33D63A
Accessibility & contrast
On white
5.68
#18771C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#18771C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18771C
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18771C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18771C | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 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: #18771c; /* rgb */ color: rgb(24, 119, 28); /* oklch */ color: oklch(49.8% 0.152 143.3);
Tailwind
colors: {
custom: {
50: '#679f5f',
500: '#18771c',
950: '#000000',
},
}SCSS
$custom: #18771c; $custom-light: #679f5f; $custom-dark: #000000;
JSON
{
"hex": "#18771c",
"rgb": {
"r": 24,
"g": 119,
"b": 28
},
"hsl": {
"h": 122.526,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.4979,
"c": 0.15179,
"h": 143.3
},
"luminance": 0.13472
}Semantic roles & 50–950 ramp
primary
#18771C
secondary
#AC3FA7
accent
#3EE2E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79