#217F7B#217F7B

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

Color values

HEX#217F7B
RGBrgb(33, 127, 123)
HSLhsl(177, 59%, 31%)
HSVhsv(177, 74%, 50%)
CMYKcmyk(74%, 0%, 3.1%, 50.2%)
CIE-LABlab(48.17, -27.24, -5.61)
CIE-LCHlch(48.17, 27.82, 191.63°)
OKLaboklab(54.31% -0.0827 -0.0157)
OKLCHoklch(54.31% 0.084 190.7)
XYZxyz(11.7901, 16.9307, 21.3816)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F7B #7F2125
analogous
#217F4C #217F7B #21547F
triadic
#217F7B #7B217F #7F7B21
tetradic
#217F7B #4C217F #7F2125 #547F21
square
#217F7B #4C217F #7F2125 #547F21
split-complementary
#217F7B #7F2154 #7F4C21
monochromatic
#081E1D #144E4C #217F7B #2EB0AA #4AD0CA

Accessibility & contrast

On white

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

On black

4.39
#217F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217F7B#FFFFFF#000000##FFFFFF
##217F7B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787B
Deuteranopia (green-blind)
#6A6E7C
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217f7b;
/* rgb */ color: rgb(33, 127, 123);
/* oklch */ color: oklch(54.3% 0.084 190.7);
Tailwind
colors: {
  custom: {
    50: '#6da4a1',
    500: '#217f7b',
    950: '#000000',
  },
}
SCSS
$custom: #217f7b;
$custom-light: #6da4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#217f7b",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 123
  },
  "hsl": {
    "h": 177.447,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.08416,
    "h": 190.7
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#217F7B
secondary
#B24A4F
accent
#464CE2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #217F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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