#217B6D#217B6D

#217B6D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.8% C 0.085 H 180.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#217B6D
RGBrgb(33, 123, 109)
HSLhsl(171, 58%, 31%)
HSVhsv(171, 73%, 48%)
CMYKcmyk(73.2%, 0%, 11.4%, 51.8%)
CIE-LABlab(46.43, -29.44, 0.12)
CIE-LCHlch(46.43, 29.44, 179.78°)
OKLaboklab(52.76% -0.0852 -0.0002)
OKLCHoklch(52.76% 0.085 180.1)
XYZxyz(10.4691, 15.5922, 16.9229)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B6D #7B212F
analogous
#217B40 #217B6D #215C7B
triadic
#217B6D #6D217B #7B6D21
tetradic
#217B6D #40217B #7B212F #5C7B21
square
#217B6D #40217B #7B212F #5C7B21
split-complementary
#217B6D #7B215C #7B4021
monochromatic
#071A17 #144B42 #217B6D #2EAB98 #48CEB9

Accessibility & contrast

On white

5.10
#217B6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#217B6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B6D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B6D#FFFFFF#000000##FFFFFF
##217B6D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75736C
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217b6d;
/* rgb */ color: rgb(33, 123, 109);
/* oklch */ color: oklch(52.8% 0.085 180.1);
Tailwind
colors: {
  custom: {
    50: '#6ba296',
    500: '#217b6d',
    950: '#000000',
  },
}
SCSS
$custom: #217b6d;
$custom-light: #6ba296;
$custom-dark: #000000;
JSON
{
  "hex": "#217b6d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 109
  },
  "hsl": {
    "h": 170.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.0852,
    "h": 180.1
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#217B6D
secondary
#AE4A59
accent
#475FE1
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #217B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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