#217F7A#217F7A

#217F7A is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.084 H 189.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#217F7A
RGBrgb(33, 127, 122)
HSLhsl(177, 59%, 31%)
HSVhsv(177, 74%, 50%)
CMYKcmyk(74%, 0%, 3.9%, 50.2%)
CIE-LABlab(48.14, -27.55, -5.06)
CIE-LCHlch(48.14, 28.01, 190.41°)
OKLaboklab(54.27% -0.0832 -0.0142)
OKLCHoklch(54.27% 0.084 189.7)
XYZxyz(11.7278, 16.9058, 21.0536)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F7A #7F2126
analogous
#217F4B #217F7A #21557F
triadic
#217F7A #7A217F #7F7A21
tetradic
#217F7A #4B217F #7F2126 #557F21
square
#217F7A #4B217F #7F2126 #557F21
split-complementary
#217F7A #7F2155 #7F4B21
monochromatic
#081E1D #144E4B #217F7A #2EB0A9 #4AD0C9

Accessibility & contrast

On white

4.79
#217F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#217F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F7A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F7A#FFFFFF#000000##FFFFFF
##217F7A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787A
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217f7a;
/* rgb */ color: rgb(33, 127, 122);
/* oklch */ color: oklch(54.3% 0.084 189.7);
Tailwind
colors: {
  custom: {
    50: '#6ca4a0',
    500: '#217f7a',
    950: '#000000',
  },
}
SCSS
$custom: #217f7a;
$custom-light: #6ca4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#217f7a",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 122
  },
  "hsl": {
    "h": 176.809,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.08437,
    "h": 189.7
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#217F7A
secondary
#B24A50
accent
#464EE2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #217F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#217F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva