#218E23#218E23
#218E23 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.172 H 143.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #218E23 |
|---|---|
| RGB | rgb(33, 142, 35) |
| HSL | hsl(121, 62%, 34%) |
| HSV | hsv(121, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 75.4%, 44.3%) |
| CIE-LAB | lab(51.60, -50.68, 45.65) |
| CIE-LCH | lch(51.60, 68.21, 137.99°) |
| OKLab | oklab(56.61% -0.1375 0.1033) |
| OKLCH | oklch(56.61% 0.172 143.1) |
| XYZ | xyz(10.6029, 19.7895, 4.8507) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.05
Emerald Green
#028F1E
ΔE00 1.09
Irish Green
#019529
ΔE00 2.58
True Green
#089404
ΔE00 3.12
Kelley Green
#009337
ΔE00 3.38
Green
#008000
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E23 #8E218C
analogous
#568E21 #218E23 #218E5A
triadic
#218E23 #23218E #8E2321
tetradic
#218E23 #21568E #8E218C #8E5A21
square
#218E23 #21568E #8E218C #8E5A21
split-complementary
#218E23 #5A218E #8E2156
monochromatic
#0A2B0B #155C17 #218E23 #2DC02F #52D755
Accessibility & contrast
On white
4.24
#218E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#218E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E23
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E23 | 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)
#91800F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e23; /* rgb */ color: rgb(33, 142, 35); /* oklch */ color: oklch(56.6% 0.172 143.1);
Tailwind
colors: {
custom: {
50: '#70b065',
500: '#218e23',
950: '#000000',
},
}SCSS
$custom: #218e23; $custom-light: #70b065; $custom-dark: #000000;
JSON
{
"hex": "#218e23",
"rgb": {
"r": 33,
"g": 142,
"b": 35
},
"hsl": {
"h": 121.101,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56612,
"c": 0.17195,
"h": 143.1
},
"luminance": 0.19791
}Semantic roles & 50–950 ramp
primary
#218E23
secondary
#BA50B8
accent
#42E2E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A