#217F45#217F45
#217F45 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.124 H 151.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #217F45 |
|---|---|
| RGB | rgb(33, 127, 69) |
| HSL | hsl(143, 59%, 31%) |
| HSV | hsv(143, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 45.7%, 50.2%) |
| CIE-LAB | lab(46.88, -40.73, 23.91) |
| CIE-LCH | lch(46.88, 47.23, 149.59°) |
| OKLab | oklab(52.83% -0.1097 0.0589) |
| OKLCH | oklch(52.83% 0.125 151.8) |
| XYZ | xyz(9.2900, 15.9307, 8.2144) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.68
Darkish Green
#287C37
ΔE00 3.01
Sea Green
#2E8B57
ΔE00 4.96
Dark Sea Green
#11875D
ΔE00 5.64
Dark Sage
#598556
ΔE00 7.72
Tree Green
#2A7E19
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F45 #7F215B
analogous
#2C7F21 #217F45 #217F74
triadic
#217F45 #45217F #7F4521
tetradic
#217F45 #212C7F #7F215B #7F7421
square
#217F45 #212C7F #7F215B #7F7421
split-complementary
#217F45 #74217F #7F212C
monochromatic
#081E10 #144E2B #217F45 #2EB05F #4AD07E
Accessibility & contrast
On white
5.02
#217F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#217F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F45
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F45 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f45; /* rgb */ color: rgb(33, 127, 69); /* oklch */ color: oklch(52.8% 0.124 151.8);
Tailwind
colors: {
custom: {
50: '#6ba579',
500: '#217f45',
950: '#000000',
},
}SCSS
$custom: #217f45; $custom-light: #6ba579; $custom-dark: #000000;
JSON
{
"hex": "#217f45",
"rgb": {
"r": 33,
"g": 127,
"b": 69
},
"hsl": {
"h": 142.979,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52829,
"c": 0.1245,
"h": 151.8
},
"luminance": 0.15932
}Semantic roles & 50–950 ramp
primary
#217F45
secondary
#B24A8A
accent
#46A6E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B