#217A7F#217A7F

#217A7F is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.1% C 0.081 H 200.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217A7F
RGBrgb(33, 122, 127)
HSLhsl(183, 59%, 31%)
HSVhsv(183, 74%, 50%)
CMYKcmyk(74%, 3.9%, 0%, 50.2%)
CIE-LABlab(46.68, -23.46, -10.21)
CIE-LCHlch(46.68, 25.59, 203.52°)
OKLaboklab(53.14% -0.0754 -0.0283)
OKLCHoklch(53.14% 0.081 200.6)
XYZxyz(11.4158, 15.7734, 22.5175)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A7F #7F2621
analogous
#217F55 #217A7F #214B7F
triadic
#217A7F #7F217A #7A7F21
tetradic
#217A7F #55217F #7F2621 #4B7F21
square
#217A7F #55217F #7F2621 #4B7F21
split-complementary
#217A7F #7F214B #7F5521
monochromatic
#081D1E #144B4E #217A7F #2EA9B0 #4AC9D0

Accessibility & contrast

On white

5.05
#217A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A7F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A7F#FFFFFF#000000##FFFFFF
##217A7F1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747F
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217a7f;
/* rgb */ color: rgb(33, 122, 127);
/* oklch */ color: oklch(53.1% 0.081 200.6);
Tailwind
colors: {
  custom: {
    50: '#6ca1a4',
    500: '#217a7f',
    950: '#000000',
  },
}
SCSS
$custom: #217a7f;
$custom-light: #6ca1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#217a7f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 127
  },
  "hsl": {
    "h": 183.191,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.08059,
    "h": 200.6
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#217A7F
secondary
#B2504A
accent
#4E46E2
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #217A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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