#218B22#218B22
#218B22 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.169 H 143.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #218B22 |
|---|---|
| RGB | rgb(33, 139, 34) |
| HSL | hsl(121, 62%, 34%) |
| HSV | hsv(121, 76%, 55%) |
| CMYK | cmyk(76.3%, 0%, 75.5%, 45.5%) |
| CIE-LAB | lab(50.57, -49.75, 44.99) |
| CIE-LCH | lch(50.57, 67.08, 137.88°) |
| OKLab | oklab(55.76% -0.135 0.1018) |
| OKLCH | oklch(55.76% 0.169 143) |
| XYZ | xyz(10.1479, 18.9029, 4.6269) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.06
Emerald Green
#028F1E
ΔE00 1.68
Irish Green
#019529
ΔE00 3.54
True Green
#089404
ΔE00 3.92
Kelley Green
#009337
ΔE00 3.94
Green
#008000
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218B22 #8B218A
analogous
#558B21 #218B22 #218B57
triadic
#218B22 #22218B #8B2221
tetradic
#218B22 #21558B #8B218A #8B5721
square
#218B22 #21558B #8B218A #8B5721
split-complementary
#218B22 #57218B #8B2155
monochromatic
#0A280A #155A16 #218B22 #2DBC2E #51D652
Accessibility & contrast
On white
4.39
#218B22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#218B22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218B22
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218B22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218B22 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #218b22; /* rgb */ color: rgb(33, 139, 34); /* oklch */ color: oklch(55.8% 0.169 143.0);
Tailwind
colors: {
custom: {
50: '#6fae64',
500: '#218b22',
950: '#000000',
},
}SCSS
$custom: #218b22; $custom-light: #6fae64; $custom-dark: #000000;
JSON
{
"hex": "#218b22",
"rgb": {
"r": 33,
"g": 139,
"b": 34
},
"hsl": {
"h": 120.566,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.55758,
"c": 0.16908,
"h": 143
},
"luminance": 0.18904
}Semantic roles & 50–950 ramp
primary
#218B22
secondary
#B94FB8
accent
#43E3E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A