#217E42#217E42
#217E42 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.126 H 150.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #217E42 |
|---|---|
| RGB | rgb(33, 126, 66) |
| HSL | hsl(141, 58%, 31%) |
| HSV | hsv(141, 74%, 49%) |
| CMYK | cmyk(73.8%, 0%, 47.6%, 50.6%) |
| CIE-LAB | lab(46.50, -40.88, 25.07) |
| CIE-LCH | lch(46.50, 47.96, 148.49°) |
| OKLab | oklab(52.49% -0.11 0.0615) |
| OKLCH | oklch(52.49% 0.126 150.8) |
| XYZ | xyz(9.0707, 15.6374, 7.6935) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.83
Darkish Green
#287C37
ΔE00 2.41
Sea Green
#2E8B57
ΔE00 5.51
Dark Sea Green
#11875D
ΔE00 6.27
Tree Green
#2A7E19
ΔE00 7.27
Dark Sage
#598556
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E42 #7E215D
analogous
#2E7E21 #217E42 #217E70
triadic
#217E42 #42217E #7E4221
tetradic
#217E42 #212E7E #7E215D #7E7021
square
#217E42 #212E7E #7E215D #7E7021
split-complementary
#217E42 #70217E #7E212E
monochromatic
#081D0F #144E29 #217E42 #2EAE5B #4AD079
Accessibility & contrast
On white
5.09
#217E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#217E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E42
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E42 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F733D
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217e42; /* rgb */ color: rgb(33, 126, 66); /* oklch */ color: oklch(52.5% 0.126 150.8);
Tailwind
colors: {
custom: {
50: '#6aa477',
500: '#217e42',
950: '#000000',
},
}SCSS
$custom: #217e42; $custom-light: #6aa477; $custom-dark: #000000;
JSON
{
"hex": "#217e42",
"rgb": {
"r": 33,
"g": 126,
"b": 66
},
"hsl": {
"h": 141.29,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.52492,
"c": 0.12605,
"h": 150.8
},
"luminance": 0.15638
}Semantic roles & 50–950 ramp
primary
#217E42
secondary
#B14A8C
accent
#46AAE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B