#218F2F#218F2F
#218F2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.165 H 144.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #218F2F |
|---|---|
| RGB | rgb(33, 143, 47) |
| HSL | hsl(128, 63%, 35%) |
| HSV | hsv(128, 77%, 56%) |
| CMYK | cmyk(76.9%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(52.03, -49.86, 41.17) |
| CIE-LCH | lch(52.03, 64.66, 140.45°) |
| OKLab | oklab(57% -0.1347 0.0954) |
| OKLCH | oklch(57% 0.165 144.7) |
| XYZ | xyz(10.9620, 20.1722, 6.0047) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 2.02
Forestgreen (CSS)
#228B22
ΔE00 2.03
Kelley Green
#009337
ΔE00 2.07
Irish Green
#019529
ΔE00 2.35
True Green
#089404
ΔE00 4.22
Fern Green
#548D44
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F2F #8F2181
analogous
#4A8F21 #218F2F #218F66
triadic
#218F2F #2F218F #8F2F21
tetradic
#218F2F #214A8F #8F2181 #8F6621
square
#218F2F #214A8F #8F2181 #8F6621
split-complementary
#218F2F #66218F #8F214A
monochromatic
#0A2C0E #165D1F #218F2F #2CC13F #53D764
Accessibility & contrast
On white
4.17
#218F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#218F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F2F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F2F | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f2f; /* rgb */ color: rgb(33, 143, 47); /* oklch */ color: oklch(57.0% 0.165 144.7);
Tailwind
colors: {
custom: {
50: '#6fb16c',
500: '#218f2f',
950: '#000000',
},
}SCSS
$custom: #218f2f; $custom-light: #6fb16c; $custom-dark: #000000;
JSON
{
"hex": "#218f2f",
"rgb": {
"r": 33,
"g": 143,
"b": 47
},
"hsl": {
"h": 127.636,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.57002,
"c": 0.16503,
"h": 144.7
},
"luminance": 0.20173
}Semantic roles & 50–950 ramp
primary
#218F2F
secondary
#BB51AD
accent
#42D1E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A