#218F22#218F22
#218F22 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.174 H 143.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #218F22 |
|---|---|
| RGB | rgb(33, 143, 34) |
| HSL | hsl(121, 63%, 35%) |
| HSV | hsv(121, 77%, 56%) |
| CMYK | cmyk(76.9%, 0%, 76.2%, 43.9%) |
| CIE-LAB | lab(51.93, -51.09, 46.35) |
| CIE-LCH | lch(51.93, 68.99, 137.78°) |
| OKLab | oklab(56.89% -0.1386 0.1046) |
| OKLCH | oklch(56.89% 0.174 143) |
| XYZ | xyz(10.7377, 20.0825, 4.8235) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.06
Forestgreen (CSS)
#228B22
ΔE00 1.42
Irish Green
#019529
ΔE00 2.34
True Green
#089404
ΔE00 2.78
Kelley Green
#009337
ΔE00 3.39
Green
#008000
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F22 #8F218E
analogous
#578F21 #218F22 #218F59
triadic
#218F22 #22218F #8F2221
tetradic
#218F22 #21578F #8F218E #8F5921
square
#218F22 #21578F #8F218E #8F5921
split-complementary
#218F22 #59218F #8F2157
monochromatic
#0A2C0A #165D16 #218F22 #2CC12E #53D754
Accessibility & contrast
On white
4.19
#218F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#218F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F22
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F22 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f22; /* rgb */ color: rgb(33, 143, 34); /* oklch */ color: oklch(56.9% 0.174 143.0);
Tailwind
colors: {
custom: {
50: '#70b165',
500: '#218f22',
950: '#000000',
},
}SCSS
$custom: #218f22; $custom-light: #70b165; $custom-dark: #000000;
JSON
{
"hex": "#218f22",
"rgb": {
"r": 33,
"g": 143,
"b": 34
},
"hsl": {
"h": 120.545,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.56886,
"c": 0.17368,
"h": 143
},
"luminance": 0.20084
}Semantic roles & 50–950 ramp
primary
#218F22
secondary
#BB51BA
accent
#42E4E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A