#217E4A#217E4A
#217E4A is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.118 H 154.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #217E4A |
|---|---|
| RGB | rgb(33, 126, 74) |
| HSL | hsl(146, 58%, 31%) |
| HSV | hsv(146, 74%, 49%) |
| CMYK | cmyk(73.8%, 0%, 41.3%, 50.6%) |
| CIE-LAB | lab(46.63, -39.36, 20.78) |
| CIE-LCH | lch(46.63, 44.51, 152.16°) |
| OKLab | oklab(52.65% -0.1062 0.0517) |
| OKLCH | oklch(52.65% 0.118 154) |
| XYZ | xyz(9.3232, 15.7384, 9.0237) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.65
Darkish Green
#287C37
ΔE00 4.22
Dark Sea Green
#11875D
ΔE00 4.76
Sea Green
#2E8B57
ΔE00 4.91
Dark Sage
#598556
ΔE00 7.77
Viridian
#1E9167
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E4A #7E2155
analogous
#267E21 #217E4A #217E78
triadic
#217E4A #4A217E #7E4A21
tetradic
#217E4A #21267E #7E2155 #7E7821
square
#217E4A #21267E #7E2155 #7E7821
split-complementary
#217E4A #78217E #7E2126
monochromatic
#081D11 #144E2E #217E4A #2EAE66 #4AD085
Accessibility & contrast
On white
5.06
#217E4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#217E4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E4A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E4A | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7346
Deuteranopia (green-blind)
#726B4D
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217e4a; /* rgb */ color: rgb(33, 126, 74); /* oklch */ color: oklch(52.6% 0.118 154.0);
Tailwind
colors: {
custom: {
50: '#6aa47d',
500: '#217e4a',
950: '#000000',
},
}SCSS
$custom: #217e4a; $custom-light: #6aa47d; $custom-dark: #000000;
JSON
{
"hex": "#217e4a",
"rgb": {
"r": 33,
"g": 126,
"b": 74
},
"hsl": {
"h": 146.452,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.52647,
"c": 0.11812,
"h": 154
},
"luminance": 0.15739
}Semantic roles & 50–950 ramp
primary
#217E4A
secondary
#B14A83
accent
#469DE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B