#218C18#218C18
#218C18 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.175 H 142.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #218C18 |
|---|---|
| RGB | rgb(33, 140, 24) |
| HSL | hsl(115, 71%, 32%) |
| HSV | hsv(115, 83%, 55%) |
| CMYK | cmyk(76.4%, 0%, 82.9%, 45.1%) |
| CIE-LAB | lab(50.86, -50.80, 48.65) |
| CIE-LCH | lch(50.86, 70.34, 136.24°) |
| OKLab | oklab(55.97% -0.1383 0.108) |
| OKLCH | oklch(55.97% 0.175 142) |
| XYZ | xyz(10.1696, 19.1443, 4.0232) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.15
Emerald Green
#028F1E
ΔE00 1.65
True Green
#089404
ΔE00 3.05
Irish Green
#019529
ΔE00 3.59
Kelley Green
#009337
ΔE00 4.60
Green
#008000
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218C18 #83188C
analogous
#5B8C18 #218C18 #188C49
triadic
#218C18 #18218C #8C1821
tetradic
#218C18 #185B8C #83188C #8C4918
square
#218C18 #185B8C #83188C #8C4918
split-complementary
#218C18 #49188C #8C185B
monochromatic
#082406 #15580F #218C18 #2DC021 #4CDE40
Accessibility & contrast
On white
4.35
#218C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#218C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218C18
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218C18 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #218c18; /* rgb */ color: rgb(33, 140, 24); /* oklch */ color: oklch(56.0% 0.175 142.0);
Tailwind
colors: {
custom: {
50: '#70af60',
500: '#218c18',
950: '#000000',
},
}SCSS
$custom: #218c18; $custom-light: #70af60; $custom-dark: #000000;
JSON
{
"hex": "#218c18",
"rgb": {
"r": 33,
"g": 140,
"b": 24
},
"hsl": {
"h": 115.345,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.55974,
"c": 0.17549,
"h": 142
},
"luminance": 0.19145
}Semantic roles & 50–950 ramp
primary
#218C18
secondary
#B541BF
accent
#3AEDE0
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79