#217F56#217F56

#217F56 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.2% C 0.108 H 159.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#217F56
RGBrgb(33, 127, 86)
HSLhsl(154, 59%, 31%)
HSVhsv(154, 74%, 50%)
CMYKcmyk(74%, 0%, 32.3%, 50.2%)
CIE-LABlab(47.20, -37.20, 14.70)
CIE-LCHlch(47.20, 40.00, 158.44°)
OKLaboklab(53.19% -0.1013 0.0372)
OKLCHoklch(53.19% 0.108 159.8)
XYZxyz(9.8953, 16.1728, 11.4025)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F56 #7F214A
analogous
#217F27 #217F56 #21797F
triadic
#217F56 #56217F #7F5621
tetradic
#217F56 #27217F #7F214A #797F21
square
#217F56 #27217F #7F214A #797F21
split-complementary
#217F56 #7F2179 #7F2721
monochromatic
#081E14 #144E35 #217F56 #2EB077 #4AD096

Accessibility & contrast

On white

4.96
#217F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#217F56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F56
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F56#FFFFFF#000000##FFFFFF
##217F561.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7554
Deuteranopia (green-blind)
#726C59
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f56;
/* rgb */ color: rgb(33, 127, 86);
/* oklch */ color: oklch(53.2% 0.108 159.8);
Tailwind
colors: {
  custom: {
    50: '#6ba585',
    500: '#217f56',
    950: '#000000',
  },
}
SCSS
$custom: #217f56;
$custom-light: #6ba585;
$custom-dark: #000000;
JSON
{
  "hex": "#217f56",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 86
  },
  "hsl": {
    "h": 153.83,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.10788,
    "h": 159.8
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#217F56
secondary
#B24A77
accent
#468AE2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217F56

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

Preview Lab → · Contrast checker → · Palette generator →

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