#218F1C#218F1C
#218F1C is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.8% C 0.177 H 142.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #218F1C |
|---|---|
| RGB | rgb(33, 143, 28) |
| HSL | hsl(117, 67%, 34%) |
| HSV | hsv(117, 80%, 56%) |
| CMYK | cmyk(76.9%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(51.89, -51.53, 48.39) |
| CIE-LCH | lch(51.89, 70.69, 136.80°) |
| OKLab | oklab(56.85% -0.1401 0.108) |
| OKLCH | oklch(56.85% 0.177 142.4) |
| XYZ | xyz(10.6586, 20.0509, 4.4069) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.24
Forestgreen (CSS)
#228B22
ΔE00 1.65
True Green
#089404
ΔE00 2.33
Irish Green
#019529
ΔE00 2.64
Kelley Green
#009337
ΔE00 3.97
Grass Green
#3F9B0B
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F1C #8A1C8F
analogous
#5A8F1C #218F1C #1C8F50
triadic
#218F1C #1C218F #8F1C21
tetradic
#218F1C #1C5A8F #8A1C8F #8F501C
square
#218F1C #1C5A8F #8A1C8F #8F501C
split-complementary
#218F1C #501C8F #8F1C5A
monochromatic
#092908 #155C12 #218F1C #2DC226 #50DC4A
Accessibility & contrast
On white
4.19
#218F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#218F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F1C
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F1C | 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)
#928100
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f1c; /* rgb */ color: rgb(33, 143, 28); /* oklch */ color: oklch(56.8% 0.177 142.4);
Tailwind
colors: {
custom: {
50: '#70b162',
500: '#218f1c',
950: '#000000',
},
}SCSS
$custom: #218f1c; $custom-light: #70b162; $custom-dark: #000000;
JSON
{
"hex": "#218f1c",
"rgb": {
"r": 33,
"g": 143,
"b": 28
},
"hsl": {
"h": 117.391,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.56845,
"c": 0.17693,
"h": 142.4
},
"luminance": 0.20052
}Semantic roles & 50–950 ramp
primary
#218F1C
secondary
#B949BE
accent
#3EEAE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A