#217F46#217F46
#217F46 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.124 H 152.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #217F46 |
|---|---|
| RGB | rgb(33, 127, 70) |
| HSL | hsl(144, 59%, 31%) |
| HSV | hsv(144, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 44.9%, 50.2%) |
| CIE-LAB | lab(46.90, -40.54, 23.38) |
| CIE-LCH | lch(46.90, 46.80, 150.03°) |
| OKLab | oklab(52.85% -0.1092 0.0577) |
| OKLCH | oklch(52.85% 0.124 152.1) |
| XYZ | xyz(9.3213, 15.9432, 8.3793) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.77
Darkish Green
#287C37
ΔE00 3.23
Sea Green
#2E8B57
ΔE00 4.87
Dark Sea Green
#11875D
ΔE00 5.44
Dark Sage
#598556
ΔE00 7.69
Tree Green
#2A7E19
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F46 #7F215A
analogous
#2B7F21 #217F46 #217F75
triadic
#217F46 #46217F #7F4621
tetradic
#217F46 #212B7F #7F215A #7F7521
square
#217F46 #212B7F #7F215A #7F7521
split-complementary
#217F46 #75217F #7F212B
monochromatic
#081E10 #144E2B #217F46 #2EB061 #4AD07F
Accessibility & contrast
On white
5.01
#217F46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#217F46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F46
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F46 | 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)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f46; /* rgb */ color: rgb(33, 127, 70); /* oklch */ color: oklch(52.8% 0.124 152.1);
Tailwind
colors: {
custom: {
50: '#6ba57a',
500: '#217f46',
950: '#000000',
},
}SCSS
$custom: #217f46; $custom-light: #6ba57a; $custom-dark: #000000;
JSON
{
"hex": "#217f46",
"rgb": {
"r": 33,
"g": 127,
"b": 70
},
"hsl": {
"h": 143.617,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52848,
"c": 0.12351,
"h": 152.1
},
"luminance": 0.15944
}Semantic roles & 50–950 ramp
primary
#217F46
secondary
#B24A89
accent
#46A5E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B