#218E1C#218E1C
#218E1C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.176 H 142.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #218E1C |
|---|---|
| RGB | rgb(33, 142, 28) |
| HSL | hsl(117, 67%, 33%) |
| HSV | hsv(117, 80%, 56%) |
| CMYK | cmyk(76.8%, 0%, 80.3%, 44.3%) |
| CIE-LAB | lab(51.56, -51.21, 48.07) |
| CIE-LCH | lch(51.56, 70.23, 136.81°) |
| OKLab | oklab(56.56% -0.1392 0.1074) |
| OKLCH | oklch(56.56% 0.176 142.4) |
| XYZ | xyz(10.5092, 19.7520, 4.3570) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.23
Forestgreen (CSS)
#228B22
ΔE00 1.34
True Green
#089404
ΔE00 2.61
Irish Green
#019529
ΔE00 2.88
Kelley Green
#009337
ΔE00 4.04
Green
#008000
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E1C #891C8E
analogous
#5A8E1C #218E1C #1C8E50
triadic
#218E1C #1C218E #8E1C21
tetradic
#218E1C #1C5A8E #891C8E #8E501C
square
#218E1C #1C5A8E #891C8E #8E501C
split-complementary
#218E1C #501C8E #8E1C5A
monochromatic
#092808 #155B12 #218E1C #2DC126 #50DB49
Accessibility & contrast
On white
4.24
#218E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#218E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E1C
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E1C | 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)
#85782A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e1c; /* rgb */ color: rgb(33, 142, 28); /* oklch */ color: oklch(56.6% 0.176 142.4);
Tailwind
colors: {
custom: {
50: '#70b062',
500: '#218e1c',
950: '#000000',
},
}SCSS
$custom: #218e1c; $custom-light: #70b062; $custom-dark: #000000;
JSON
{
"hex": "#218e1c",
"rgb": {
"r": 33,
"g": 142,
"b": 28
},
"hsl": {
"h": 117.368,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.56563,
"c": 0.17581,
"h": 142.4
},
"luminance": 0.19753
}Semantic roles & 50–950 ramp
primary
#218E1C
secondary
#B849BD
accent
#3EEAE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A