#217B71#217B71

#217B71 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.9% C 0.083 H 184.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#217B71
RGBrgb(33, 123, 113)
HSLhsl(173, 58%, 31%)
HSVhsv(173, 73%, 48%)
CMYKcmyk(73.2%, 0%, 8.1%, 51.8%)
CIE-LABlab(46.55, -28.27, -2.09)
CIE-LCHlch(46.55, 28.35, 184.22°)
OKLaboklab(52.89% -0.0832 -0.0061)
OKLCHoklch(52.89% 0.083 184.2)
XYZxyz(10.6894, 15.6803, 18.0828)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B71 #7B212B
analogous
#217B44 #217B71 #21587B
triadic
#217B71 #71217B #7B7121
tetradic
#217B71 #44217B #7B212B #587B21
square
#217B71 #44217B #7B212B #587B21
split-complementary
#217B71 #7B2158 #7B4421
monochromatic
#071A18 #144B45 #217B71 #2EAB9D #48CEBF

Accessibility & contrast

On white

5.08
#217B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#217B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B71
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B71#FFFFFF#000000##FFFFFF
##217B711.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#007E78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217b71;
/* rgb */ color: rgb(33, 123, 113);
/* oklch */ color: oklch(52.9% 0.083 184.2);
Tailwind
colors: {
  custom: {
    50: '#6ba199',
    500: '#217b71',
    950: '#000000',
  },
}
SCSS
$custom: #217b71;
$custom-light: #6ba199;
$custom-dark: #000000;
JSON
{
  "hex": "#217b71",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 173.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.08344,
    "h": 184.2
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#217B71
secondary
#AE4A55
accent
#4758E1
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #217B71

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

Preview Lab → · Contrast checker → · Palette generator →

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