#217D7E#217D7E

#217D7E is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.9% C 0.082 H 196.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#217D7E
RGBrgb(33, 125, 126)
HSLhsl(181, 58%, 31%)
HSVhsv(181, 74%, 49%)
CMYKcmyk(73.8%, 0.8%, 0%, 50.6%)
CIE-LABlab(47.62, -25.31, -8.21)
CIE-LCHlch(47.62, 26.61, 197.96°)
OKLaboklab(53.89% -0.0791 -0.0228)
OKLCHoklch(53.89% 0.082 196.1)
XYZxyz(11.7250, 16.4955, 22.3006)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D7E #7E2221
analogous
#217E50 #217D7E #214E7E
triadic
#217D7E #7E217D #7D7E21
tetradic
#217D7E #50217E #7E2221 #4E7E21
square
#217D7E #50217E #7E2221 #4E7E21
split-complementary
#217D7E #7E214E #7E5021
monochromatic
#081D1D #144D4E #217D7E #2EADAE #4ACED0

Accessibility & contrast

On white

4.88
#217D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#217D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D7E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D7E#FFFFFF#000000##FFFFFF
##217D7E1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74777E
Deuteranopia (green-blind)
#676D7F
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217d7e;
/* rgb */ color: rgb(33, 125, 126);
/* oklch */ color: oklch(53.9% 0.082 196.1);
Tailwind
colors: {
  custom: {
    50: '#6da3a3',
    500: '#217d7e',
    950: '#000000',
  },
}
SCSS
$custom: #217d7e;
$custom-light: #6da3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#217d7e",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 126
  },
  "hsl": {
    "h": 180.645,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53892,
    "c": 0.08234,
    "h": 196.1
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#217D7E
secondary
#B14B4A
accent
#4846E2
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #217D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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