#218F27#218F27
#218F27 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.171 H 143.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #218F27 |
|---|---|
| RGB | rgb(33, 143, 39) |
| HSL | hsl(123, 63%, 35%) |
| HSV | hsv(123, 77%, 56%) |
| CMYK | cmyk(76.9%, 0%, 72.7%, 43.9%) |
| CIE-LAB | lab(51.97, -50.66, 44.47) |
| CIE-LCH | lch(51.97, 67.41, 138.72°) |
| OKLab | oklab(56.93% -0.1372 0.1014) |
| OKLCH | oklch(56.93% 0.171 143.5) |
| XYZ | xyz(10.8152, 20.1135, 5.2314) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.23
Forestgreen (CSS)
#228B22
ΔE00 1.45
Irish Green
#019529
ΔE00 2.19
Kelley Green
#009337
ΔE00 2.87
True Green
#089404
ΔE00 3.26
Green
#008000
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F27 #8F2189
analogous
#528F21 #218F27 #218F5E
triadic
#218F27 #27218F #8F2721
tetradic
#218F27 #21528F #8F2189 #8F5E21
square
#218F27 #21528F #8F2189 #8F5E21
split-complementary
#218F27 #5E218F #8F2152
monochromatic
#0A2C0C #165D19 #218F27 #2CC135 #53D75A
Accessibility & contrast
On white
4.18
#218F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#218F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F27
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F27 | 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)
#928116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f27; /* rgb */ color: rgb(33, 143, 39); /* oklch */ color: oklch(56.9% 0.171 143.5);
Tailwind
colors: {
custom: {
50: '#70b167',
500: '#218f27',
950: '#000000',
},
}SCSS
$custom: #218f27; $custom-light: #70b167; $custom-dark: #000000;
JSON
{
"hex": "#218f27",
"rgb": {
"r": 33,
"g": 143,
"b": 39
},
"hsl": {
"h": 123.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.56926,
"c": 0.17062,
"h": 143.5
},
"luminance": 0.20115
}Semantic roles & 50–950 ramp
primary
#218F27
secondary
#BB51B5
accent
#42DDE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A