#217A6F#217A6F

#217A6F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.083 H 183.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#217A6F
RGBrgb(33, 122, 111)
HSLhsl(173, 57%, 30%)
HSVhsv(173, 73%, 48%)
CMYKcmyk(73%, 0%, 9%, 52.2%)
CIE-LABlab(46.16, -28.37, -1.47)
CIE-LCHlch(46.16, 28.41, 182.97°)
OKLaboklab(52.55% -0.0831 -0.0044)
OKLCHoklch(52.55% 0.083 183.1)
XYZxyz(10.4546, 15.3889, 17.4552)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A6F #7A212C
analogous
#217A42 #217A6F #21587A
triadic
#217A6F #6F217A #7A6F21
tetradic
#217A6F #42217A #7A212C #587A21
square
#217A6F #42217A #7A212C #587A21
split-complementary
#217A6F #7A2158 #7A4221
monochromatic
#071A17 #144A43 #217A6F #2EAA9B #48CDBD

Accessibility & contrast

On white

5.15
#217A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#217A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A6F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A6F#FFFFFF#000000##FFFFFF
##217A6F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217a6f;
/* rgb */ color: rgb(33, 122, 111);
/* oklch */ color: oklch(52.6% 0.083 183.1);
Tailwind
colors: {
  custom: {
    50: '#6ba198',
    500: '#217a6f',
    950: '#000000',
  },
}
SCSS
$custom: #217a6f;
$custom-light: #6ba198;
$custom-dark: #000000;
JSON
{
  "hex": "#217a6f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 111
  },
  "hsl": {
    "h": 172.584,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.08323,
    "h": 183.1
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#217A6F
secondary
#AD4A56
accent
#475AE1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #217A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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