#217E7C#217E7C

#217E7C is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.1% C 0.083 H 192.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#217E7C
RGBrgb(33, 126, 124)
HSLhsl(179, 58%, 31%)
HSVhsv(179, 74%, 49%)
CMYKcmyk(73.8%, 0%, 1.6%, 50.6%)
CIE-LABlab(47.88, -26.44, -6.63)
CIE-LCHlch(47.88, 27.26, 194.09°)
OKLaboklab(54.08% -0.0811 -0.0185)
OKLCHoklch(54.08% 0.083 192.8)
XYZxyz(11.7245, 16.6989, 21.6702)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E7C #7E2123
analogous
#217E4D #217E7C #21517E
triadic
#217E7C #7C217E #7E7C21
tetradic
#217E7C #4D217E #7E2123 #517E21
square
#217E7C #4D217E #7E2123 #517E21
split-complementary
#217E7C #7E2151 #7E4D21
monochromatic
#081D1D #144E4C #217E7C #2EAEAC #4AD0CD

Accessibility & contrast

On white

4.84
#217E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#217E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E7C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E7C#FFFFFF#000000##FFFFFF
##217E7C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777C
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217e7c;
/* rgb */ color: rgb(33, 126, 124);
/* oklch */ color: oklch(54.1% 0.083 192.8);
Tailwind
colors: {
  custom: {
    50: '#6da4a1',
    500: '#217e7c',
    950: '#000000',
  },
}
SCSS
$custom: #217e7c;
$custom-light: #6da4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#217e7c",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 178.71,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.08322,
    "h": 192.8
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#217E7C
secondary
#B14A4C
accent
#4649E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #217E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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