#217B6F#217B6F

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

Color values

HEX#217B6F
RGBrgb(33, 123, 111)
HSLhsl(172, 58%, 31%)
HSVhsv(172, 73%, 48%)
CMYKcmyk(73.2%, 0%, 9.8%, 51.8%)
CIE-LABlab(46.49, -28.86, -0.99)
CIE-LCHlch(46.49, 28.88, 181.96°)
OKLaboklab(52.82% -0.0842 -0.0031)
OKLCHoklch(52.82% 0.084 182.1)
XYZxyz(10.5780, 15.6357, 17.4963)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B6F #7B212D
analogous
#217B42 #217B6F #215A7B
triadic
#217B6F #6F217B #7B6F21
tetradic
#217B6F #42217B #7B212D #5A7B21
square
#217B6F #42217B #7B212D #5A7B21
split-complementary
#217B6F #7B215A #7B4221
monochromatic
#071A18 #144B43 #217B6F #2EAB9B #48CEBC

Accessibility & contrast

On white

5.09
#217B6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217B6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B6F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B6F#FFFFFF#000000##FFFFFF
##217B6F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75746F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217b6f;
/* rgb */ color: rgb(33, 123, 111);
/* oklch */ color: oklch(52.8% 0.084 182.1);
Tailwind
colors: {
  custom: {
    50: '#6ba298',
    500: '#217b6f',
    950: '#000000',
  },
}
SCSS
$custom: #217b6f;
$custom-light: #6ba298;
$custom-dark: #000000;
JSON
{
  "hex": "#217b6f",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 111
  },
  "hsl": {
    "h": 172,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.08427,
    "h": 182.1
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#217B6F
secondary
#AE4A57
accent
#475BE1
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0D
muted
#7A7F7E

Preview Lab

Preview with #217B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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