#218D22#218D22
#218D22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.171 H 143.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #218D22 |
|---|---|
| RGB | rgb(33, 141, 34) |
| HSL | hsl(121, 62%, 34%) |
| HSV | hsv(121, 77%, 55%) |
| CMYK | cmyk(76.6%, 0%, 75.9%, 44.7%) |
| CIE-LAB | lab(51.25, -50.43, 45.67) |
| CIE-LCH | lch(51.25, 68.04, 137.83°) |
| OKLab | oklab(56.32% -0.1368 0.1032) |
| OKLCH | oklch(56.32% 0.171 143) |
| XYZ | xyz(10.4402, 19.4874, 4.7243) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.71
Emerald Green
#028F1E
ΔE00 1.20
Irish Green
#019529
ΔE00 2.91
True Green
#089404
ΔE00 3.32
Kelley Green
#009337
ΔE00 3.60
Green
#008000
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218D22 #8D218C
analogous
#568D21 #218D22 #218D58
triadic
#218D22 #22218D #8D2221
tetradic
#218D22 #21568D #8D218C #8D5821
square
#218D22 #21568D #8D218C #8D5821
split-complementary
#218D22 #58218D #8D2156
monochromatic
#0A2A0A #155B16 #218D22 #2DBF2E #52D653
Accessibility & contrast
On white
4.29
#218D22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#218D22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218D22
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218D22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218D22 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #218d22; /* rgb */ color: rgb(33, 141, 34); /* oklch */ color: oklch(56.3% 0.171 143.0);
Tailwind
colors: {
custom: {
50: '#70af65',
500: '#218d22',
950: '#000000',
},
}SCSS
$custom: #218d22; $custom-light: #70af65; $custom-dark: #000000;
JSON
{
"hex": "#218d22",
"rgb": {
"r": 33,
"g": 141,
"b": 34
},
"hsl": {
"h": 120.556,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.56323,
"c": 0.17139,
"h": 143
},
"luminance": 0.19489
}Semantic roles & 50–950 ramp
primary
#218D22
secondary
#BA50B9
accent
#43E4E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A