#217F7E#217F7E

#217F7E is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.084 H 193.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#217F7E
RGBrgb(33, 127, 126)
HSLhsl(179, 59%, 31%)
HSVhsv(179, 74%, 50%)
CMYKcmyk(74%, 0%, 0.8%, 50.2%)
CIE-LABlab(48.27, -26.32, -7.23)
CIE-LCHlch(48.27, 27.30, 195.37°)
OKLaboklab(54.42% -0.0813 -0.0201)
OKLCHoklch(54.42% 0.084 193.9)
XYZxyz(11.9807, 17.0070, 22.3859)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F7E #7F2122
analogous
#217F4F #217F7E #21517F
triadic
#217F7E #7E217F #7F7E21
tetradic
#217F7E #4F217F #7F2122 #517F21
square
#217F7E #4F217F #7F2122 #517F21
split-complementary
#217F7E #7F2151 #7F4F21
monochromatic
#081E1E #144E4E #217F7E #2EB0AE #4AD0CF

Accessibility & contrast

On white

4.77
#217F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#217F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F7E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F7E#FFFFFF#000000##FFFFFF
##217F7E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787E
Deuteranopia (green-blind)
#696E7F
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217f7e;
/* rgb */ color: rgb(33, 127, 126);
/* oklch */ color: oklch(54.4% 0.084 193.9);
Tailwind
colors: {
  custom: {
    50: '#6da4a3',
    500: '#217f7e',
    950: '#000000',
  },
}
SCSS
$custom: #217f7e;
$custom-light: #6da4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#217f7e",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 179.362,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.08372,
    "h": 193.9
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#217F7E
secondary
#B24A4B
accent
#4648E2
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #217F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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