#217171#217171

#217171 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.2% C 0.075 H 195.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#217171
RGBrgb(33, 113, 113)
HSLhsl(180, 55%, 29%)
HSVhsv(180, 71%, 44%)
CMYKcmyk(70.8%, 0%, 0%, 55.7%)
CIE-LABlab(43.25, -23.25, -6.98)
CIE-LCHlch(43.25, 24.27, 196.71°)
OKLaboklab(50.21% -0.0722 -0.0194)
OKLCHoklch(50.21% 0.075 195)
XYZxyz(9.5116, 13.3248, 17.6902)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217171 #712121
analogous
#217149 #217171 #214971
triadic
#217171 #712171 #717121
tetradic
#217171 #492171 #712121 #497121
square
#217171 #492171 #712121 #497121
split-complementary
#217171 #712149 #714921
monochromatic
#071818 #134242 #217171 #2FA0A0 #44C8C8

Accessibility & contrast

On white

5.73
#217171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#217171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217171
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217171#FFFFFF#000000##FFFFFF
##2171711.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696B71
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217171;
/* rgb */ color: rgb(33, 113, 113);
/* oklch */ color: oklch(50.2% 0.075 195.0);
Tailwind
colors: {
  custom: {
    50: '#6a9a99',
    500: '#217171',
    950: '#000000',
  },
}
SCSS
$custom: #217171;
$custom-light: #6a9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#217171",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 113
  },
  "hsl": {
    "h": 180,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.07475,
    "h": 195
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#217171
secondary
#A54949
accent
#4A4ADE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #217171

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#217171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva