#217B6C#217B6C

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

Color values

HEX#217B6C
RGBrgb(33, 123, 108)
HSLhsl(170, 58%, 31%)
HSVhsv(170, 73%, 48%)
CMYKcmyk(73.2%, 0%, 12.2%, 51.8%)
CIE-LABlab(46.41, -29.72, 0.67)
CIE-LCHlch(46.41, 29.73, 178.72°)
OKLaboklab(52.72% -0.0857 0.0013)
OKLCHoklch(52.72% 0.086 179.1)
XYZxyz(10.4156, 15.5707, 16.6410)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B6C #7B2130
analogous
#217B3F #217B6C #215D7B
triadic
#217B6C #6C217B #7B6C21
tetradic
#217B6C #3F217B #7B2130 #5D7B21
square
#217B6C #3F217B #7B2130 #5D7B21
split-complementary
#217B6C #7B215D #7B3F21
monochromatic
#071A17 #144B42 #217B6C #2EAB96 #48CEB8

Accessibility & contrast

On white

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

On black

4.11
#217B6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217B6C#FFFFFF#000000##FFFFFF
##217B6C1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76736B
Deuteranopia (green-blind)
#696A6D
Tritanopia (blue-blind)
#007D76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217b6c;
/* rgb */ color: rgb(33, 123, 108);
/* oklch */ color: oklch(52.7% 0.086 179.1);
Tailwind
colors: {
  custom: {
    50: '#6ba296',
    500: '#217b6c',
    950: '#000000',
  },
}
SCSS
$custom: #217b6c;
$custom-light: #6ba296;
$custom-dark: #000000;
JSON
{
  "hex": "#217b6c",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 108
  },
  "hsl": {
    "h": 170,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.08571,
    "h": 179.1
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#217B6C
secondary
#AE4A5B
accent
#4761E1
background
#F6FAF9
surface
#ECF3F1
border
#C7CDCB
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #217B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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