#218E1B#218E1B
#218E1B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.176 H 142.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #218E1B |
|---|---|
| RGB | rgb(33, 142, 27) |
| HSL | hsl(117, 68%, 33%) |
| HSV | hsv(117, 81%, 56%) |
| CMYK | cmyk(76.8%, 0%, 81%, 44.3%) |
| CIE-LAB | lab(51.55, -51.27, 48.38) |
| CIE-LCH | lch(51.55, 70.50, 136.66°) |
| OKLab | oklab(56.56% -0.1394 0.1079) |
| OKLCH | oklch(56.56% 0.176 142.3) |
| XYZ | xyz(10.4974, 19.7473, 4.2951) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.28
Forestgreen (CSS)
#228B22
ΔE00 1.40
True Green
#089404
ΔE00 2.56
Irish Green
#019529
ΔE00 2.93
Kelley Green
#009337
ΔE00 4.13
Green
#008000
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E1B #881B8E
analogous
#5A8E1B #218E1B #1B8E4F
triadic
#218E1B #1B218E #8E1B21
tetradic
#218E1B #1B5A8E #881B8E #8E4F1B
square
#218E1B #1B5A8E #881B8E #8E4F1B
split-complementary
#218E1B #4F1B8E #8E1B5A
monochromatic
#092707 #155B11 #218E1B #2DC125 #4FDC47
Accessibility & contrast
On white
4.24
#218E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#218E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E1B
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E1B | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 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)
#857829
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e1b; /* rgb */ color: rgb(33, 142, 27); /* oklch */ color: oklch(56.6% 0.176 142.3);
Tailwind
colors: {
custom: {
50: '#70b062',
500: '#218e1b',
950: '#000000',
},
}SCSS
$custom: #218e1b; $custom-light: #70b062; $custom-dark: #000000;
JSON
{
"hex": "#218e1b",
"rgb": {
"r": 33,
"g": 142,
"b": 27
},
"hsl": {
"h": 116.87,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.56557,
"c": 0.1763,
"h": 142.3
},
"luminance": 0.19748
}Semantic roles & 50–950 ramp
primary
#218E1B
secondary
#B847BE
accent
#3DEBE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A