#217F78#217F78

#217F78 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.085 H 187.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#217F78
RGBrgb(33, 127, 120)
HSLhsl(176, 59%, 31%)
HSVhsv(176, 74%, 50%)
CMYKcmyk(74%, 0%, 5.5%, 50.2%)
CIE-LABlab(48.08, -28.15, -3.98)
CIE-LCHlch(48.08, 28.43, 188.04°)
OKLaboklab(54.2% -0.0841 -0.0112)
OKLCHoklch(54.2% 0.085 187.6)
XYZxyz(11.6051, 16.8568, 20.4077)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F78 #7F2128
analogous
#217F49 #217F78 #21577F
triadic
#217F78 #78217F #7F7821
tetradic
#217F78 #49217F #7F2128 #577F21
square
#217F78 #49217F #7F2128 #577F21
split-complementary
#217F78 #7F2157 #7F4921
monochromatic
#081E1C #144E4A #217F78 #2EB0A6 #4AD0C6

Accessibility & contrast

On white

4.80
#217F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#217F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F78
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F78#FFFFFF#000000##FFFFFF
##217F781.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787878
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217f78;
/* rgb */ color: rgb(33, 127, 120);
/* oklch */ color: oklch(54.2% 0.085 187.6);
Tailwind
colors: {
  custom: {
    50: '#6ca49e',
    500: '#217f78',
    950: '#000000',
  },
}
SCSS
$custom: #217f78;
$custom-light: #6ca49e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f78",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 120
  },
  "hsl": {
    "h": 175.532,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.08488,
    "h": 187.6
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#217F78
secondary
#B24A52
accent
#4651E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #217F78

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

Preview Lab → · Contrast checker → · Palette generator →

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