#217F52#217F52
#217F52 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.112 H 157.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #217F52 |
|---|---|
| RGB | rgb(33, 127, 82) |
| HSL | hsl(151, 59%, 31%) |
| HSV | hsv(151, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 35.4%, 50.2%) |
| CIE-LAB | lab(47.12, -38.10, 16.89) |
| CIE-LCH | lch(47.12, 41.67, 156.09°) |
| OKLab | oklab(53.1% -0.1033 0.0426) |
| OKLCH | oklch(53.1% 0.112 157.6) |
| XYZ | xyz(9.7386, 16.1102, 10.5773) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 3.32
Jungle Green
#048243
ΔE00 4.12
Sea Green
#2E8B57
ΔE00 4.66
Darkish Green
#287C37
ΔE00 6.10
Viridian
#1E9167
ΔE00 6.80
Dark Sage
#598556
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F52 #7F214E
analogous
#217F23 #217F52 #217D7F
triadic
#217F52 #52217F #7F5221
tetradic
#217F52 #23217F #7F214E #7D7F21
square
#217F52 #23217F #7F214E #7D7F21
split-complementary
#217F52 #7F217D #7F2321
monochromatic
#081E13 #144E33 #217F52 #2EB071 #4AD090
Accessibility & contrast
On white
4.97
#217F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#217F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F52
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F52 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #217f52; /* rgb */ color: rgb(33, 127, 82); /* oklch */ color: oklch(53.1% 0.112 157.6);
Tailwind
colors: {
custom: {
50: '#6aa583',
500: '#217f52',
950: '#000000',
},
}SCSS
$custom: #217f52; $custom-light: #6aa583; $custom-dark: #000000;
JSON
{
"hex": "#217f52",
"rgb": {
"r": 33,
"g": 127,
"b": 82
},
"hsl": {
"h": 151.277,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.531,
"c": 0.1117,
"h": 157.6
},
"luminance": 0.16111
}Semantic roles & 50–950 ramp
primary
#217F52
secondary
#B24A7C
accent
#4691E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C