#218E2A#218E2A
#218E2A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.167 H 144.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #218E2A |
|---|---|
| RGB | rgb(33, 142, 42) |
| HSL | hsl(125, 62%, 34%) |
| HSV | hsv(125, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 70.4%, 44.3%) |
| CIE-LAB | lab(51.65, -50.04, 42.91) |
| CIE-LCH | lch(51.65, 65.92, 139.38°) |
| OKLab | oklab(56.67% -0.1354 0.0985) |
| OKLCH | oklch(56.67% 0.167 144) |
| XYZ | xyz(10.7174, 19.8353, 5.4538) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.34
Emerald Green
#028F1E
ΔE00 1.53
Irish Green
#019529
ΔE00 2.51
Kelley Green
#009337
ΔE00 2.69
True Green
#089404
ΔE00 3.83
Tree Green
#2A7E19
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E2A #8E2185
analogous
#4F8E21 #218E2A #218E61
triadic
#218E2A #2A218E #8E2A21
tetradic
#218E2A #214F8E #8E2185 #8E6121
square
#218E2A #214F8E #8E2185 #8E6121
split-complementary
#218E2A #61218E #8E214F
monochromatic
#0A2B0D #155C1B #218E2A #2DC039 #52D75D
Accessibility & contrast
On white
4.23
#218E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#218E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E2A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E2A | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e2a; /* rgb */ color: rgb(33, 142, 42); /* oklch */ color: oklch(56.7% 0.167 144.0);
Tailwind
colors: {
custom: {
50: '#6fb069',
500: '#218e2a',
950: '#000000',
},
}SCSS
$custom: #218e2a; $custom-light: #6fb069; $custom-dark: #000000;
JSON
{
"hex": "#218e2a",
"rgb": {
"r": 33,
"g": 142,
"b": 42
},
"hsl": {
"h": 124.954,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56672,
"c": 0.16743,
"h": 144
},
"luminance": 0.19837
}Semantic roles & 50–950 ramp
primary
#218E2A
secondary
#BA50B2
accent
#42D8E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A