#218D2F#218D2F
#218D2F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.163 H 144.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #218D2F |
|---|---|
| RGB | rgb(33, 141, 47) |
| HSL | hsl(128, 62%, 34%) |
| HSV | hsv(128, 77%, 55%) |
| CMYK | cmyk(76.6%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.36, -49.17, 40.42) |
| CIE-LCH | lch(51.36, 63.65, 140.57°) |
| OKLab | oklab(56.44% -0.1328 0.0938) |
| OKLCH | oklch(56.44% 0.163 144.8) |
| XYZ | xyz(10.6644, 19.5771, 5.9055) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.78
Emerald Green
#028F1E
ΔE00 2.23
Kelley Green
#009337
ΔE00 2.47
Irish Green
#019529
ΔE00 3.00
True Green
#089404
ΔE00 4.67
Fern Green
#548D44
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218D2F #8D217F
analogous
#498D21 #218D2F #218D65
triadic
#218D2F #2F218D #8D2F21
tetradic
#218D2F #21498D #8D217F #8D6521
square
#218D2F #21498D #8D217F #8D6521
split-complementary
#218D2F #65218D #8D2149
monochromatic
#0A2A0E #155B1E #218D2F #2DBF40 #52D663
Accessibility & contrast
On white
4.27
#218D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#218D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218D2F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218D2F | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #218d2f; /* rgb */ color: rgb(33, 141, 47); /* oklch */ color: oklch(56.4% 0.163 144.8);
Tailwind
colors: {
custom: {
50: '#6faf6c',
500: '#218d2f',
950: '#000000',
},
}SCSS
$custom: #218d2f; $custom-light: #6faf6c; $custom-dark: #000000;
JSON
{
"hex": "#218d2f",
"rgb": {
"r": 33,
"g": 141,
"b": 47
},
"hsl": {
"h": 127.778,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.56441,
"c": 0.16259,
"h": 144.8
},
"luminance": 0.19578
}Semantic roles & 50–950 ramp
primary
#218D2F
secondary
#BA50AC
accent
#43D0E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A