#217B5A#217B5A
#217B5A is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.2% C 0.099 H 164.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #217B5A |
|---|---|
| RGB | rgb(33, 123, 90) |
| HSL | hsl(158, 58%, 31%) |
| HSV | hsv(158, 73%, 48%) |
| CMYK | cmyk(73.2%, 0%, 26.8%, 51.8%) |
| CIE-LAB | lab(45.94, -34.51, 10.63) |
| CIE-LCH | lch(45.94, 36.11, 162.89°) |
| OKLab | oklab(52.19% -0.0949 0.0271) |
| OKLCH | oklch(52.19% 0.099 164) |
| XYZ | xyz(9.5546, 15.2263, 12.1063) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 4.64
Sea Green
#2E8B57
ΔE00 7.36
Jungle Green
#048243
ΔE00 7.51
Viridian
#1E9167
ΔE00 8.01
Darkish Green
#287C37
ΔE00 9.14
Dark Sage
#598556
ΔE00 9.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217B5A #7B2142
analogous
#217B2D #217B5A #216F7B
triadic
#217B5A #5A217B #7B5A21
tetradic
#217B5A #2D217B #7B2142 #6F7B21
square
#217B5A #2D217B #7B2142 #6F7B21
split-complementary
#217B5A #7B216F #7B2D21
monochromatic
#071A13 #144B37 #217B5A #2EAB7D #48CE9D
Accessibility & contrast
On white
5.19
#217B5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#217B5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217B5A
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217B5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217B5A | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797258
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217b5a; /* rgb */ color: rgb(33, 123, 90); /* oklch */ color: oklch(52.2% 0.099 164.0);
Tailwind
colors: {
custom: {
50: '#6aa288',
500: '#217b5a',
950: '#000000',
},
}SCSS
$custom: #217b5a; $custom-light: #6aa288; $custom-dark: #000000;
JSON
{
"hex": "#217b5a",
"rgb": {
"r": 33,
"g": 123,
"b": 90
},
"hsl": {
"h": 158,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.5219,
"c": 0.09866,
"h": 164
},
"luminance": 0.15227
}Semantic roles & 50–950 ramp
primary
#217B5A
secondary
#AE4A6F
accent
#477FE1
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C