#217E7F#217E7F

#217E7F is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.2% C 0.083 H 196.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#217E7F
RGBrgb(33, 126, 127)
HSLhsl(181, 59%, 31%)
HSVhsv(181, 74%, 50%)
CMYKcmyk(74%, 0.8%, 0%, 50.2%)
CIE-LABlab(47.98, -25.51, -8.26)
CIE-LCHlch(47.98, 26.81, 197.94°)
OKLaboklab(54.19% -0.0797 -0.023)
OKLCHoklch(54.19% 0.083 196.1)
XYZxyz(11.9171, 16.7759, 22.6846)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E7F #7F2221
analogous
#217F51 #217E7F #214F7F
triadic
#217E7F #7F217E #7E7F21
tetradic
#217E7F #51217F #7F2221 #4F7F21
square
#217E7F #51217F #7F2221 #4F7F21
split-complementary
#217E7F #7F214F #7F5121
monochromatic
#081E1E #144E4E #217E7F #2EAEB0 #4ACFD0

Accessibility & contrast

On white

4.82
#217E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#217E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E7F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E7F#FFFFFF#000000##FFFFFF
##217E7F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75787F
Deuteranopia (green-blind)
#676E80
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217e7f;
/* rgb */ color: rgb(33, 126, 127);
/* oklch */ color: oklch(54.2% 0.083 196.1);
Tailwind
colors: {
  custom: {
    50: '#6da4a4',
    500: '#217e7f',
    950: '#000000',
  },
}
SCSS
$custom: #217e7f;
$custom-light: #6da4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#217e7f",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 127
  },
  "hsl": {
    "h": 180.638,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.08296,
    "h": 196.1
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#217E7F
secondary
#B24B4A
accent
#4846E2
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #217E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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