#217F57#217F57

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

Color values

HEX#217F57
RGBrgb(33, 127, 87)
HSLhsl(154, 59%, 31%)
HSVhsv(154, 74%, 50%)
CMYKcmyk(74%, 0%, 31.5%, 50.2%)
CIE-LABlab(47.22, -36.97, 14.15)
CIE-LCHlch(47.22, 39.58, 159.06°)
OKLaboklab(53.22% -0.1007 0.0359)
OKLCHoklch(53.22% 0.107 160.4)
XYZxyz(9.9359, 16.1891, 11.6161)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F57 #7F2149
analogous
#217F28 #217F57 #21787F
triadic
#217F57 #57217F #7F5721
tetradic
#217F57 #28217F #7F2149 #787F21
square
#217F57 #28217F #7F2149 #787F21
split-complementary
#217F57 #7F2178 #7F2821
monochromatic
#081E14 #144E36 #217F57 #2EB078 #4AD097

Accessibility & contrast

On white

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

On black

4.24
#217F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217F57#FFFFFF#000000##FFFFFF
##217F571.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7555
Deuteranopia (green-blind)
#716D5A
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f57;
/* rgb */ color: rgb(33, 127, 87);
/* oklch */ color: oklch(53.2% 0.107 160.4);
Tailwind
colors: {
  custom: {
    50: '#6ba586',
    500: '#217f57',
    950: '#000000',
  },
}
SCSS
$custom: #217f57;
$custom-light: #6ba586;
$custom-dark: #000000;
JSON
{
  "hex": "#217f57",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 87
  },
  "hsl": {
    "h": 154.468,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.10694,
    "h": 160.4
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#217F57
secondary
#B24A76
accent
#4688E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217F57

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

Preview Lab → · Contrast checker → · Palette generator →

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