#218E21#218E21
#218E21 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.173 H 142.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #218E21 |
|---|---|
| RGB | rgb(33, 142, 33) |
| HSL | hsl(120, 62%, 34%) |
| HSV | hsv(120, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 76.8%, 44.3%) |
| CIE-LAB | lab(51.59, -50.84, 46.37) |
| CIE-LCH | lch(51.59, 68.81, 137.63°) |
| OKLab | oklab(56.6% -0.138 0.1045) |
| OKLCH | oklch(56.6% 0.173 142.9) |
| XYZ | xyz(10.5741, 19.7779, 4.6988) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.08
Forestgreen (CSS)
#228B22
ΔE00 1.09
Irish Green
#019529
ΔE00 2.65
True Green
#089404
ΔE00 2.96
Kelley Green
#009337
ΔE00 3.58
Green
#008000
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E21 #8E218E
analogous
#588E21 #218E21 #218E58
triadic
#218E21 #21218E #8E2121
tetradic
#218E21 #21588E #8E218E #8E5821
square
#218E21 #21588E #8E218E #8E5821
split-complementary
#218E21 #58218E #8E2158
monochromatic
#0A2B0A #155C15 #218E21 #2DC02D #52D752
Accessibility & contrast
On white
4.24
#218E21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#218E21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E21
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E21 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e21; /* rgb */ color: rgb(33, 142, 33); /* oklch */ color: oklch(56.6% 0.173 142.9);
Tailwind
colors: {
custom: {
50: '#70b064',
500: '#218e21',
950: '#000000',
},
}SCSS
$custom: #218e21; $custom-light: #70b064; $custom-dark: #000000;
JSON
{
"hex": "#218e21",
"rgb": {
"r": 33,
"g": 142,
"b": 33
},
"hsl": {
"h": 120,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56597,
"c": 0.17312,
"h": 142.9
},
"luminance": 0.19779
}Semantic roles & 50–950 ramp
primary
#218E21
secondary
#BA50BA
accent
#42E5E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A