#218D1C#218D1C
#218D1C is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.175 H 142.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #218D1C |
|---|---|
| RGB | rgb(33, 141, 28) |
| HSL | hsl(117, 67%, 33%) |
| HSV | hsv(117, 80%, 55%) |
| CMYK | cmyk(76.6%, 0%, 80.1%, 44.7%) |
| CIE-LAB | lab(51.22, -50.87, 47.74) |
| CIE-LCH | lch(51.22, 69.77, 136.82°) |
| OKLab | oklab(56.28% -0.1383 0.1067) |
| OKLCH | oklch(56.28% 0.175 142.4) |
| XYZ | xyz(10.3611, 19.4557, 4.3077) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.04
Emerald Green
#028F1E
ΔE00 1.31
True Green
#089404
ΔE00 2.92
Irish Green
#019529
ΔE00 3.14
Kelley Green
#009337
ΔE00 4.14
Green
#008000
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218D1C #881C8D
analogous
#598D1C #218D1C #1C8D4F
triadic
#218D1C #1C218D #8D1C21
tetradic
#218D1C #1C598D #881C8D #8D4F1C
square
#218D1C #1C598D #881C8D #8D4F1C
split-complementary
#218D1C #4F1C8D #8D1C59
monochromatic
#092708 #155A12 #218D1C #2DC026 #4FDB49
Accessibility & contrast
On white
4.29
#218D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#218D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218D1C
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218D1C | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #218d1c; /* rgb */ color: rgb(33, 141, 28); /* oklch */ color: oklch(56.3% 0.175 142.4);
Tailwind
colors: {
custom: {
50: '#70af62',
500: '#218d1c',
950: '#000000',
},
}SCSS
$custom: #218d1c; $custom-light: #70af62; $custom-dark: #000000;
JSON
{
"hex": "#218d1c",
"rgb": {
"r": 33,
"g": 141,
"b": 28
},
"hsl": {
"h": 117.345,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.56281,
"c": 0.17469,
"h": 142.4
},
"luminance": 0.19457
}Semantic roles & 50–950 ramp
primary
#218D1C
secondary
#B848BD
accent
#3EEAE2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A