#218F18#218F18
#218F18 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.179 H 142.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #218F18 |
|---|---|
| RGB | rgb(33, 143, 24) |
| HSL | hsl(115, 71%, 33%) |
| HSV | hsv(115, 83%, 56%) |
| CMYK | cmyk(76.9%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(51.87, -51.79, 49.60) |
| CIE-LCH | lch(51.87, 71.71, 136.23°) |
| OKLab | oklab(56.82% -0.141 0.11) |
| OKLCH | oklch(56.82% 0.179 142) |
| XYZ | xyz(10.6139, 20.0330, 4.1714) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.48
Forestgreen (CSS)
#228B22
ΔE00 1.88
True Green
#089404
ΔE00 2.11
Irish Green
#019529
ΔE00 2.87
Kelley Green
#009337
ΔE00 4.31
Grass Green
#3F9B0B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F18 #86188F
analogous
#5D8F18 #218F18 #188F4A
triadic
#218F18 #18218F #8F1821
tetradic
#218F18 #185D8F #86188F #8F4A18
square
#218F18 #185D8F #86188F #8F4A18
split-complementary
#218F18 #4A188F #8F185D
monochromatic
#092606 #155B0F #218F18 #2DC321 #4EDF42
Accessibility & contrast
On white
4.19
#218F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#218F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F18
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F18 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f18; /* rgb */ color: rgb(33, 143, 24); /* oklch */ color: oklch(56.8% 0.179 142.0);
Tailwind
colors: {
custom: {
50: '#71b160',
500: '#218f18',
950: '#000000',
},
}SCSS
$custom: #218f18; $custom-light: #71b160; $custom-dark: #000000;
JSON
{
"hex": "#218f18",
"rgb": {
"r": 33,
"g": 143,
"b": 24
},
"hsl": {
"h": 115.462,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.56822,
"c": 0.1788,
"h": 142
},
"luminance": 0.20034
}Semantic roles & 50–950 ramp
primary
#218F18
secondary
#B743C0
accent
#3AEEE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A