#218E18#218E18
#218E18 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.178 H 142.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #218E18 |
|---|---|
| RGB | rgb(33, 142, 24) |
| HSL | hsl(115, 71%, 33%) |
| HSV | hsv(115, 83%, 56%) |
| CMYK | cmyk(76.8%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(51.54, -51.46, 49.29) |
| CIE-LCH | lch(51.54, 71.25, 136.23°) |
| OKLab | oklab(56.54% -0.1401 0.1093) |
| OKLCH | oklch(56.54% 0.178 142) |
| XYZ | xyz(10.4645, 19.7341, 4.1215) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.45
Forestgreen (CSS)
#228B22
ΔE00 1.60
True Green
#089404
ΔE00 2.41
Irish Green
#019529
ΔE00 3.09
Kelley Green
#009337
ΔE00 4.38
Green
#008000
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E18 #85188E
analogous
#5C8E18 #218E18 #188E4A
triadic
#218E18 #18218E #8E1821
tetradic
#218E18 #185C8E #85188E #8E4A18
square
#218E18 #185C8E #85188E #8E4A18
split-complementary
#218E18 #4A188E #8E185C
monochromatic
#092506 #155A0F #218E18 #2DC221 #4DDF41
Accessibility & contrast
On white
4.24
#218E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#218E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E18
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E18 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e18; /* rgb */ color: rgb(33, 142, 24); /* oklch */ color: oklch(56.5% 0.178 142.0);
Tailwind
colors: {
custom: {
50: '#70b060',
500: '#218e18',
950: '#000000',
},
}SCSS
$custom: #218e18; $custom-light: #70b060; $custom-dark: #000000;
JSON
{
"hex": "#218e18",
"rgb": {
"r": 33,
"g": 142,
"b": 24
},
"hsl": {
"h": 115.424,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.56539,
"c": 0.1777,
"h": 142
},
"luminance": 0.19735
}Semantic roles & 50–950 ramp
primary
#218E18
secondary
#B642C0
accent
#3AEEE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A