#217F62#217F62

#217F62 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.5% C 0.097 H 167.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#217F62
RGBrgb(33, 127, 98)
HSLhsl(161, 59%, 31%)
HSVhsv(161, 74%, 50%)
CMYKcmyk(74%, 0%, 22.8%, 50.2%)
CIE-LABlab(47.47, -34.29, 8.09)
CIE-LCHlch(47.47, 35.23, 166.72°)
OKLaboklab(53.51% -0.0951 0.0207)
OKLCHoklch(53.51% 0.097 167.7)
XYZxyz(10.4200, 16.3827, 14.1659)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F62 #7F213E
analogous
#217F33 #217F62 #216D7F
triadic
#217F62 #62217F #7F6221
tetradic
#217F62 #33217F #7F213E #6D7F21
square
#217F62 #33217F #7F213E #6D7F21
split-complementary
#217F62 #7F216D #7F3321
monochromatic
#081E17 #144E3D #217F62 #2EB087 #4AD0A7

Accessibility & contrast

On white

4.91
#217F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#217F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F62
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F62#FFFFFF#000000##FFFFFF
##217F621.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7660
Deuteranopia (green-blind)
#6F6D64
Tritanopia (blue-blind)
#008077
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217f62;
/* rgb */ color: rgb(33, 127, 98);
/* oklch */ color: oklch(53.5% 0.097 167.7);
Tailwind
colors: {
  custom: {
    50: '#6ba58e',
    500: '#217f62',
    950: '#000000',
  },
}
SCSS
$custom: #217f62;
$custom-light: #6ba58e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f62",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 98
  },
  "hsl": {
    "h": 161.489,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.09735,
    "h": 167.7
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#217F62
secondary
#B24A6A
accent
#4676E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217F62

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

Preview Lab → · Contrast checker → · Palette generator →

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