#217216#217216
#217216 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.146 H 141.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #217216 |
|---|---|
| RGB | rgb(33, 114, 22) |
| HSL | hsl(113, 68%, 27%) |
| HSV | hsv(113, 81%, 45%) |
| CMYK | cmyk(71.1%, 0%, 80.7%, 55.3%) |
| CIE-LAB | lab(41.87, -41.98, 40.76) |
| CIE-LCH | lch(41.87, 58.51, 135.84°) |
| OKLab | oklab(48.51% -0.1146 0.0912) |
| OKLCH | oklch(48.51% 0.146 141.5) |
| XYZ | xyz(6.7890, 12.4152, 2.7975) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.27
Darkgreen
#006400
ΔE00 4.94
Green
#008000
ΔE00 5.30
Darkish Green
#287C37
ΔE00 5.48
Dark Grass Green
#388004
ΔE00 6.23
Deep Green
#02590F
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217216 #671672
analogous
#4F7216 #217216 #167239
triadic
#217216 #162172 #721621
tetradic
#217216 #164F72 #671672 #723916
square
#217216 #164F72 #671672 #723916
split-complementary
#217216 #391672 #72164F
monochromatic
#071A05 #123F0C #217216 #30A520 #40D62C
Accessibility & contrast
On white
6.03
#217216 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#217216 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217216
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217216 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217216 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #217216; /* rgb */ color: rgb(33, 114, 22); /* oklch */ color: oklch(48.5% 0.146 141.5);
Tailwind
colors: {
custom: {
50: '#6a9b5b',
500: '#217216',
950: '#000000',
},
}SCSS
$custom: #217216; $custom-light: #6a9b5b; $custom-dark: #000000;
JSON
{
"hex": "#217216",
"rgb": {
"r": 33,
"g": 114,
"b": 22
},
"hsl": {
"h": 112.826,
"s": 67.647,
"l": 26.667
},
"oklch": {
"l": 0.48508,
"c": 0.14646,
"h": 141.5
},
"luminance": 0.12416
}Semantic roles & 50–950 ramp
primary
#217216
secondary
#9B3CA8
accent
#3DEBD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79