#218E22#218E22
#218E22 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.173 H 143.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #218E22 |
|---|---|
| RGB | rgb(33, 142, 34) |
| HSL | hsl(121, 62%, 34%) |
| HSV | hsv(121, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 76.1%, 44.3%) |
| CIE-LAB | lab(51.59, -50.76, 46.01) |
| CIE-LCH | lch(51.59, 68.51, 137.81°) |
| OKLab | oklab(56.6% -0.1377 0.1039) |
| OKLCH | oklch(56.6% 0.173 143) |
| XYZ | xyz(10.5883, 19.7836, 4.7737) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.07
Emerald Green
#028F1E
ΔE00 1.08
Irish Green
#019529
ΔE00 2.61
True Green
#089404
ΔE00 3.04
Kelley Green
#009337
ΔE00 3.48
Green
#008000
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E22 #8E218D
analogous
#578E21 #218E22 #218E58
triadic
#218E22 #22218E #8E2221
tetradic
#218E22 #21578E #8E218D #8E5821
square
#218E22 #21578E #8E218D #8E5821
split-complementary
#218E22 #58218E #8E2157
monochromatic
#0A2B0A #155C16 #218E22 #2DC02E #52D754
Accessibility & contrast
On white
4.24
#218E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#218E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E22
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E22 | 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)
#91800C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e22; /* rgb */ color: rgb(33, 142, 34); /* oklch */ color: oklch(56.6% 0.173 143.0);
Tailwind
colors: {
custom: {
50: '#70b065',
500: '#218e22',
950: '#000000',
},
}SCSS
$custom: #218e22; $custom-light: #70b065; $custom-dark: #000000;
JSON
{
"hex": "#218e22",
"rgb": {
"r": 33,
"g": 142,
"b": 34
},
"hsl": {
"h": 120.55,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56604,
"c": 0.17254,
"h": 143
},
"luminance": 0.19785
}Semantic roles & 50–950 ramp
primary
#218E22
secondary
#BA50B9
accent
#42E4E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A