#18781F#18781F
#18781F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.151 H 143.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #18781F |
|---|---|
| RGB | rgb(24, 120, 31) |
| HSL | hsl(124, 67%, 28%) |
| HSV | hsv(124, 80%, 47%) |
| CMYK | cmyk(80%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(43.84, -44.99, 39.22) |
| CIE-LCH | lch(43.84, 59.69, 138.92°) |
| OKLab | oklab(50.11% -0.1218 0.0894) |
| OKLCH | oklch(50.11% 0.151 143.7) |
| XYZ | xyz(7.3400, 13.7252, 3.5584) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.06
Darkish Green
#287C37
ΔE00 3.79
Green
#008000
ΔE00 4.07
Dark Grass Green
#388004
ΔE00 5.76
Jungle Green
#048243
ΔE00 6.61
Darkgreen
#006400
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18781F #781871
analogous
#417818 #18781F #18784F
triadic
#18781F #1F1878 #781F18
tetradic
#18781F #184178 #781871 #784F18
square
#18781F #184178 #781871 #784F18
split-complementary
#18781F #4F1878 #781841
monochromatic
#051A07 #0E4512 #18781F #22AB2C #34D640
Accessibility & contrast
On white
5.61
#18781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#18781F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18781F
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18781F | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C10
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #18781f; /* rgb */ color: rgb(24, 120, 31); /* oklch */ color: oklch(50.1% 0.151 143.7);
Tailwind
colors: {
custom: {
50: '#67a060',
500: '#18781f',
950: '#000000',
},
}SCSS
$custom: #18781f; $custom-light: #67a060; $custom-dark: #000000;
JSON
{
"hex": "#18781f",
"rgb": {
"r": 24,
"g": 120,
"b": 31
},
"hsl": {
"h": 124.375,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.50106,
"c": 0.15106,
"h": 143.7
},
"luminance": 0.13726
}Semantic roles & 50–950 ramp
primary
#18781F
secondary
#AD3FA5
accent
#3EDDEA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79