#217172#217172

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

Color values

HEX#217172
RGBrgb(33, 113, 114)
HSLhsl(181, 55%, 29%)
HSVhsv(181, 71%, 45%)
CMYKcmyk(71.1%, 0.9%, 0%, 55.3%)
CIE-LABlab(43.28, -22.93, -7.53)
CIE-LCHlch(43.28, 24.14, 198.18°)
OKLaboklab(50.24% -0.0717 -0.0209)
OKLCHoklch(50.24% 0.075 196.3)
XYZxyz(9.5682, 13.3474, 17.9884)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217172 #722221
analogous
#21724B #217172 #214972
triadic
#217172 #722171 #717221
tetradic
#217172 #4B2172 #722221 #497221
square
#217172 #4B2172 #722221 #497221
split-complementary
#217172 #722149 #724B21
monochromatic
#071818 #134243 #217172 #2FA0A1 #44C7C9

Accessibility & contrast

On white

5.72
#217172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217172
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217172#FFFFFF#000000##FFFFFF
##2171721.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217172;
/* rgb */ color: rgb(33, 113, 114);
/* oklch */ color: oklch(50.2% 0.075 196.3);
Tailwind
colors: {
  custom: {
    50: '#6a9a9a',
    500: '#217172',
    950: '#000000',
  },
}
SCSS
$custom: #217172;
$custom-light: #6a9a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#217172",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 114
  },
  "hsl": {
    "h": 180.741,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.0747,
    "h": 196.3
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#217172
secondary
#A54A49
accent
#4B49DE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #217172

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

Preview Lab → · Contrast checker → · Palette generator →

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