#218F28#218F28
#218F28 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.170 H 143.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #218F28 |
|---|---|
| RGB | rgb(33, 143, 40) |
| HSL | hsl(124, 63%, 35%) |
| HSV | hsv(124, 77%, 56%) |
| CMYK | cmyk(76.9%, 0%, 72%, 43.9%) |
| CIE-LAB | lab(51.97, -50.57, 44.08) |
| CIE-LCH | lch(51.97, 67.09, 138.92°) |
| OKLab | oklab(56.94% -0.1369 0.1007) |
| OKLCH | oklch(56.94% 0.17 143.7) |
| XYZ | xyz(10.8320, 20.1202, 5.3198) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.30
Forestgreen (CSS)
#228B22
ΔE00 1.49
Irish Green
#019529
ΔE00 2.18
Kelley Green
#009337
ΔE00 2.77
True Green
#089404
ΔE00 3.37
Green
#008000
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F28 #8F2188
analogous
#518F21 #218F28 #218F5F
triadic
#218F28 #28218F #8F2821
tetradic
#218F28 #21518F #8F2188 #8F5F21
square
#218F28 #21518F #8F2188 #8F5F21
split-complementary
#218F28 #5F218F #8F2151
monochromatic
#0A2C0C #165D1A #218F28 #2CC136 #53D75B
Accessibility & contrast
On white
4.18
#218F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#218F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F28
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F28 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f28; /* rgb */ color: rgb(33, 143, 40); /* oklch */ color: oklch(56.9% 0.170 143.7);
Tailwind
colors: {
custom: {
50: '#70b168',
500: '#218f28',
950: '#000000',
},
}SCSS
$custom: #218f28; $custom-light: #70b168; $custom-dark: #000000;
JSON
{
"hex": "#218f28",
"rgb": {
"r": 33,
"g": 143,
"b": 40
},
"hsl": {
"h": 123.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.56935,
"c": 0.16996,
"h": 143.7
},
"luminance": 0.20121
}Semantic roles & 50–950 ramp
primary
#218F28
secondary
#BB51B4
accent
#42DBE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A