#217E51#217E51
#217E51 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.111 H 157.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #217E51 |
|---|---|
| RGB | rgb(33, 126, 81) |
| HSL | hsl(151, 58%, 31%) |
| HSV | hsv(151, 74%, 49%) |
| CMYK | cmyk(73.8%, 0%, 35.7%, 50.6%) |
| CIE-LAB | lab(46.76, -37.89, 16.98) |
| CIE-LCH | lch(46.76, 41.52, 155.87°) |
| OKLab | oklab(52.8% -0.1027 0.0428) |
| OKLCH | oklch(52.8% 0.111 157.4) |
| XYZ | xyz(9.5723, 15.8380, 10.3355) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 3.66
Jungle Green
#048243
ΔE00 4.16
Sea Green
#2E8B57
ΔE00 4.98
Darkish Green
#287C37
ΔE00 5.98
Viridian
#1E9167
ΔE00 7.17
Dark Sage
#598556
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E51 #7E214E
analogous
#217E22 #217E51 #217C7E
triadic
#217E51 #51217E #7E5121
tetradic
#217E51 #22217E #7E214E #7C7E21
square
#217E51 #22217E #7E214E #7C7E21
split-complementary
#217E51 #7E217C #7E2221
monochromatic
#081D13 #144E32 #217E51 #2EAE70 #4AD08F
Accessibility & contrast
On white
5.04
#217E51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#217E51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E51
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E51 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D744E
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217e51; /* rgb */ color: rgb(33, 126, 81); /* oklch */ color: oklch(52.8% 0.111 157.4);
Tailwind
colors: {
custom: {
50: '#6aa482',
500: '#217e51',
950: '#000000',
},
}SCSS
$custom: #217e51; $custom-light: #6aa482; $custom-dark: #000000;
JSON
{
"hex": "#217e51",
"rgb": {
"r": 33,
"g": 126,
"b": 81
},
"hsl": {
"h": 150.968,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.52799,
"c": 0.11125,
"h": 157.4
},
"luminance": 0.15839
}Semantic roles & 50–950 ramp
primary
#217E51
secondary
#B14A7C
accent
#4691E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C