#218E17#218E17
#218E17 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.178 H 142.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #218E17 |
|---|---|
| RGB | rgb(33, 142, 23) |
| HSL | hsl(115, 72%, 32%) |
| HSV | hsv(115, 84%, 56%) |
| CMYK | cmyk(76.8%, 0%, 83.8%, 44.3%) |
| CIE-LAB | lab(51.53, -51.52, 49.57) |
| CIE-LCH | lch(51.53, 71.49, 136.10°) |
| OKLab | oklab(56.53% -0.1403 0.1098) |
| OKLCH | oklch(56.53% 0.178 142) |
| XYZ | xyz(10.4542, 19.7300, 4.0678) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.51
Forestgreen (CSS)
#228B22
ΔE00 1.67
True Green
#089404
ΔE00 2.37
Irish Green
#019529
ΔE00 3.14
Kelley Green
#009337
ΔE00 4.46
Green
#008000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E17 #84178E
analogous
#5D8E17 #218E17 #178E49
triadic
#218E17 #17218E #8E1721
tetradic
#218E17 #175D8E #84178E #8E4917
square
#218E17 #175D8E #84178E #8E4917
split-complementary
#218E17 #49178E #8E175D
monochromatic
#092506 #15590E #218E17 #2DC320 #4DE03F
Accessibility & contrast
On white
4.25
#218E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#218E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E17
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E17 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857826
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e17; /* rgb */ color: rgb(33, 142, 23); /* oklch */ color: oklch(56.5% 0.178 142.0);
Tailwind
colors: {
custom: {
50: '#70b060',
500: '#218e17',
950: '#000000',
},
}SCSS
$custom: #218e17; $custom-light: #70b060; $custom-dark: #000000;
JSON
{
"hex": "#218e17",
"rgb": {
"r": 33,
"g": 142,
"b": 23
},
"hsl": {
"h": 114.958,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.56534,
"c": 0.17814,
"h": 142
},
"luminance": 0.19731
}Semantic roles & 50–950 ramp
primary
#218E17
secondary
#B640C0
accent
#39EFE0
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079