#217F71#217F71

#217F71 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.088 H 180.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#217F71
RGBrgb(33, 127, 113)
HSLhsl(171, 59%, 31%)
HSVhsv(171, 74%, 50%)
CMYKcmyk(74%, 0%, 11%, 50.2%)
CIE-LABlab(47.87, -30.21, -0.15)
CIE-LCHlch(47.87, 30.21, 180.29°)
OKLaboklab(53.97% -0.0876 -0.0009)
OKLCHoklch(53.97% 0.088 180.6)
XYZxyz(11.1958, 16.6930, 18.2516)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F71 #7F212F
analogous
#217F42 #217F71 #215E7F
triadic
#217F71 #71217F #7F7121
tetradic
#217F71 #42217F #7F212F #5E7F21
square
#217F71 #42217F #7F212F #5E7F21
split-complementary
#217F71 #7F215E #7F4221
monochromatic
#081E1B #144E46 #217F71 #2EB09C #4AD0BC

Accessibility & contrast

On white

4.84
#217F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#217F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F71
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F71#FFFFFF#000000##FFFFFF
##217F711.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797770
Deuteranopia (green-blind)
#6C6E72
Tritanopia (blue-blind)
#00817B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217f71;
/* rgb */ color: rgb(33, 127, 113);
/* oklch */ color: oklch(54.0% 0.088 180.6);
Tailwind
colors: {
  custom: {
    50: '#6ca499',
    500: '#217f71',
    950: '#000000',
  },
}
SCSS
$custom: #217f71;
$custom-light: #6ca499;
$custom-dark: #000000;
JSON
{
  "hex": "#217f71",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 113
  },
  "hsl": {
    "h": 171.064,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.08757,
    "h": 180.6
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#217F71
secondary
#B24A5A
accent
#465DE2
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #217F71

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

Preview Lab → · Contrast checker → · Palette generator →

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