#217F5C#217F5C
#217F5C is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.3% C 0.102 H 163.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #217F5C |
|---|---|
| RGB | rgb(33, 127, 92) |
| HSL | hsl(158, 59%, 31%) |
| HSV | hsv(158, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 27.6%, 50.2%) |
| CIE-LAB | lab(47.33, -35.78, 11.40) |
| CIE-LCH | lch(47.33, 37.56, 162.33°) |
| OKLab | oklab(53.35% -0.0982 0.0291) |
| OKLCH | oklch(53.35% 0.102 163.5) |
| XYZ | xyz(10.1472, 16.2736, 12.7295) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 3.22
Sea Green
#2E8B57
ΔE00 6.05
Viridian
#1E9167
ΔE00 6.51
Jungle Green
#048243
ΔE00 6.85
Darkish Green
#287C37
ΔE00 8.87
Dark Sage
#598556
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F5C #7F2144
analogous
#217F2D #217F5C #21737F
triadic
#217F5C #5C217F #7F5C21
tetradic
#217F5C #2D217F #7F2144 #737F21
square
#217F5C #2D217F #7F2144 #737F21
split-complementary
#217F5C #7F2173 #7F2D21
monochromatic
#081E16 #144E39 #217F5C #2EB07F #4AD09E
Accessibility & contrast
On white
4.94
#217F5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#217F5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F5C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F5C | 1.00 | 4.94 | 4.26 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D755A
Deuteranopia (green-blind)
#716D5E
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #217f5c; /* rgb */ color: rgb(33, 127, 92); /* oklch */ color: oklch(53.3% 0.102 163.5);
Tailwind
colors: {
custom: {
50: '#6ba58a',
500: '#217f5c',
950: '#000000',
},
}SCSS
$custom: #217f5c; $custom-light: #6ba58a; $custom-dark: #000000;
JSON
{
"hex": "#217f5c",
"rgb": {
"r": 33,
"g": 127,
"b": 92
},
"hsl": {
"h": 157.66,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.53345,
"c": 0.10241,
"h": 163.5
},
"luminance": 0.16275
}Semantic roles & 50–950 ramp
primary
#217F5C
secondary
#B24A71
accent
#4680E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C