#218F17#218F17
#218F17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.179 H 142.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #218F17 |
|---|---|
| RGB | rgb(33, 143, 23) |
| HSL | hsl(115, 72%, 33%) |
| HSV | hsv(115, 84%, 56%) |
| CMYK | cmyk(76.9%, 0%, 83.9%, 43.9%) |
| CIE-LAB | lab(51.87, -51.84, 49.89) |
| CIE-LCH | lch(51.87, 71.95, 136.10°) |
| OKLab | oklab(56.82% -0.1412 0.1104) |
| OKLCH | oklch(56.82% 0.179 142) |
| XYZ | xyz(10.6037, 20.0289, 4.1176) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.54
Forestgreen (CSS)
#228B22
ΔE00 1.94
True Green
#089404
ΔE00 2.07
Irish Green
#019529
ΔE00 2.93
Kelley Green
#009337
ΔE00 4.39
Grass Green
#3F9B0B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F17 #85178F
analogous
#5D8F17 #218F17 #178F49
triadic
#218F17 #17218F #8F1721
tetradic
#218F17 #175D8F #85178F #8F4917
square
#218F17 #175D8F #85178F #8F4917
split-complementary
#218F17 #49178F #8F175D
monochromatic
#092606 #155A0F #218F17 #2DC41F #4DE040
Accessibility & contrast
On white
4.19
#218F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#218F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F17
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F17 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f17; /* rgb */ color: rgb(33, 143, 23); /* oklch */ color: oklch(56.8% 0.179 142.0);
Tailwind
colors: {
custom: {
50: '#71b160',
500: '#218f17',
950: '#000000',
},
}SCSS
$custom: #218f17; $custom-light: #71b160; $custom-dark: #000000;
JSON
{
"hex": "#218f17",
"rgb": {
"r": 33,
"g": 143,
"b": 23
},
"hsl": {
"h": 115,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.56816,
"c": 0.17924,
"h": 142
},
"luminance": 0.2003
}Semantic roles & 50–950 ramp
primary
#218F17
secondary
#B641C1
accent
#39EFE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A