#217F6F#217F6F

#217F6F is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.9% C 0.089 H 178.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#217F6F
RGBrgb(33, 127, 111)
HSLhsl(170, 59%, 31%)
HSVhsv(170, 74%, 50%)
CMYKcmyk(74%, 0%, 12.6%, 50.2%)
CIE-LABlab(47.81, -30.78, 0.94)
CIE-LCHlch(47.81, 30.79, 178.24°)
OKLaboklab(53.9% -0.0886 0.002)
OKLCHoklch(53.9% 0.089 178.7)
XYZxyz(11.0844, 16.6485, 17.6651)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F6F #7F2131
analogous
#217F40 #217F6F #21607F
triadic
#217F6F #6F217F #7F6F21
tetradic
#217F6F #40217F #7F2131 #607F21
square
#217F6F #40217F #7F2131 #607F21
split-complementary
#217F6F #7F2160 #7F4021
monochromatic
#081E1A #144E45 #217F6F #2EB099 #4AD0B9

Accessibility & contrast

On white

4.85
#217F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#217F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F6F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F6F#FFFFFF#000000##FFFFFF
##217F6F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A776E
Deuteranopia (green-blind)
#6D6E70
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217f6f;
/* rgb */ color: rgb(33, 127, 111);
/* oklch */ color: oklch(53.9% 0.089 178.7);
Tailwind
colors: {
  custom: {
    50: '#6ca598',
    500: '#217f6f',
    950: '#000000',
  },
}
SCSS
$custom: #217f6f;
$custom-light: #6ca598;
$custom-dark: #000000;
JSON
{
  "hex": "#217f6f",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 111
  },
  "hsl": {
    "h": 169.787,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.08858,
    "h": 178.7
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#217F6F
secondary
#B24A5C
accent
#4660E2
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #217F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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