#217F7F#217F7F

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

Color values

HEX#217F7F
RGBrgb(33, 127, 127)
HSLhsl(180, 59%, 31%)
HSVhsv(180, 74%, 50%)
CMYKcmyk(74%, 0%, 0%, 50.2%)
CIE-LABlab(48.30, -26.01, -7.77)
CIE-LCHlch(48.30, 27.15, 196.64°)
OKLaboklab(54.46% -0.0808 -0.0216)
OKLCHoklch(54.46% 0.084 195)
XYZxyz(12.0456, 17.0329, 22.7274)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F7F #7F2121
analogous
#217F50 #217F7F #21507F
triadic
#217F7F #7F217F #7F7F21
tetradic
#217F7F #50217F #7F2121 #507F21
square
#217F7F #50217F #7F2121 #507F21
split-complementary
#217F7F #7F2150 #7F5021
monochromatic
#081E1E #144E4E #217F7F #2EB0B0 #4AD0D0

Accessibility & contrast

On white

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

On black

4.41
#217F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217F7F#FFFFFF#000000##FFFFFF
##217F7F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76797F
Deuteranopia (green-blind)
#696E80
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217f7f;
/* rgb */ color: rgb(33, 127, 127);
/* oklch */ color: oklch(54.5% 0.084 195.0);
Tailwind
colors: {
  custom: {
    50: '#6da4a4',
    500: '#217f7f',
    950: '#000000',
  },
}
SCSS
$custom: #217f7f;
$custom-light: #6da4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#217f7f",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 127
  },
  "hsl": {
    "h": 180,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.08363,
    "h": 195
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#217F7F
secondary
#B24A4A
accent
#4646E2
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #217F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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