#217F6B#217F6B

#217F6B is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.8% C 0.091 H 175.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#217F6B
RGBrgb(33, 127, 107)
HSLhsl(167, 59%, 31%)
HSVhsv(167, 74%, 50%)
CMYKcmyk(74%, 0%, 15.7%, 50.2%)
CIE-LABlab(47.70, -31.89, 3.14)
CIE-LCHlch(47.70, 32.05, 174.38°)
OKLaboklab(53.77% -0.0906 0.0078)
OKLCHoklch(53.77% 0.091 175.1)
XYZxyz(10.8691, 16.5623, 16.5311)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F6B #7F2135
analogous
#217F3C #217F6B #21647F
triadic
#217F6B #6B217F #7F6B21
tetradic
#217F6B #3C217F #7F2135 #647F21
square
#217F6B #3C217F #7F2135 #647F21
split-complementary
#217F6B #7F2164 #7F3C21
monochromatic
#081E19 #144E42 #217F6B #2EB094 #4AD0B4

Accessibility & contrast

On white

4.87
#217F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#217F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F6B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F6B#FFFFFF#000000##FFFFFF
##217F6B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A776A
Deuteranopia (green-blind)
#6E6D6C
Tritanopia (blue-blind)
#008179
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217f6b;
/* rgb */ color: rgb(33, 127, 107);
/* oklch */ color: oklch(53.8% 0.091 175.1);
Tailwind
colors: {
  custom: {
    50: '#6ba595',
    500: '#217f6b',
    950: '#000000',
  },
}
SCSS
$custom: #217f6b;
$custom-light: #6ba595;
$custom-dark: #000000;
JSON
{
  "hex": "#217f6b",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 107
  },
  "hsl": {
    "h": 167.234,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53773,
    "c": 0.09091,
    "h": 175.1
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#217F6B
secondary
#B24A60
accent
#4667E2
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #217F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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