#217F6C#217F6C

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

Color values

HEX#217F6C
RGBrgb(33, 127, 108)
HSLhsl(168, 59%, 31%)
HSVhsv(168, 74%, 50%)
CMYKcmyk(74%, 0%, 15%, 50.2%)
CIE-LABlab(47.73, -31.62, 2.59)
CIE-LCHlch(47.73, 31.72, 175.32°)
OKLaboklab(53.8% -0.0901 0.0064)
OKLCHoklch(53.8% 0.09 175.9)
XYZxyz(10.9220, 16.5835, 16.8098)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F6C #7F2134
analogous
#217F3D #217F6C #21637F
triadic
#217F6C #6C217F #7F6C21
tetradic
#217F6C #3D217F #7F2134 #637F21
square
#217F6C #3D217F #7F2134 #637F21
split-complementary
#217F6C #7F2163 #7F3D21
monochromatic
#081E19 #144E43 #217F6C #2EB095 #4AD0B5

Accessibility & contrast

On white

4.86
#217F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#217F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F6C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F6C#FFFFFF#000000##FFFFFF
##217F6C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217f6c;
/* rgb */ color: rgb(33, 127, 108);
/* oklch */ color: oklch(53.8% 0.090 175.9);
Tailwind
colors: {
  custom: {
    50: '#6ba596',
    500: '#217f6c',
    950: '#000000',
  },
}
SCSS
$custom: #217f6c;
$custom-light: #6ba596;
$custom-dark: #000000;
JSON
{
  "hex": "#217f6c",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 108
  },
  "hsl": {
    "h": 167.872,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.0903,
    "h": 175.9
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#217F6C
secondary
#B24A5F
accent
#4665E2
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #217F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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