#217F47#217F47
#217F47 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.123 H 152.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #217F47 |
|---|---|
| RGB | rgb(33, 127, 71) |
| HSL | hsl(144, 59%, 31%) |
| HSV | hsv(144, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 44.1%, 50.2%) |
| CIE-LAB | lab(46.92, -40.35, 22.84) |
| CIE-LCH | lch(46.92, 46.37, 150.49°) |
| OKLab | oklab(52.87% -0.1087 0.0565) |
| OKLCH | oklch(52.87% 0.123 152.5) |
| XYZ | xyz(9.3531, 15.9559, 8.5469) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.89
Darkish Green
#287C37
ΔE00 3.45
Sea Green
#2E8B57
ΔE00 4.78
Dark Sea Green
#11875D
ΔE00 5.24
Dark Sage
#598556
ΔE00 7.66
Viridian
#1E9167
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F47 #7F2159
analogous
#2A7F21 #217F47 #217F76
triadic
#217F47 #47217F #7F4721
tetradic
#217F47 #212A7F #7F2159 #7F7621
square
#217F47 #212A7F #7F2159 #7F7621
split-complementary
#217F47 #76217F #7F212A
monochromatic
#081E11 #144E2C #217F47 #2EB062 #4AD080
Accessibility & contrast
On white
5.01
#217F47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#217F47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F47
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F47 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7443
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f47; /* rgb */ color: rgb(33, 127, 71); /* oklch */ color: oklch(52.9% 0.123 152.5);
Tailwind
colors: {
custom: {
50: '#6ba57b',
500: '#217f47',
950: '#000000',
},
}SCSS
$custom: #217f47; $custom-light: #6ba57b; $custom-dark: #000000;
JSON
{
"hex": "#217f47",
"rgb": {
"r": 33,
"g": 127,
"b": 71
},
"hsl": {
"h": 144.255,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52867,
"c": 0.12252,
"h": 152.5
},
"luminance": 0.15957
}Semantic roles & 50–950 ramp
primary
#217F47
secondary
#B24A88
accent
#46A3E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B