#217F52#217F52

#217F52 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.112 H 157.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#217F52
RGBrgb(33, 127, 82)
HSLhsl(151, 59%, 31%)
HSVhsv(151, 74%, 50%)
CMYKcmyk(74%, 0%, 35.4%, 50.2%)
CIE-LABlab(47.12, -38.10, 16.89)
CIE-LCHlch(47.12, 41.67, 156.09°)
OKLaboklab(53.1% -0.1033 0.0426)
OKLCHoklch(53.1% 0.112 157.6)
XYZxyz(9.7386, 16.1102, 10.5773)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F52 #7F214E
analogous
#217F23 #217F52 #217D7F
triadic
#217F52 #52217F #7F5221
tetradic
#217F52 #23217F #7F214E #7D7F21
square
#217F52 #23217F #7F214E #7D7F21
split-complementary
#217F52 #7F217D #7F2321
monochromatic
#081E13 #144E33 #217F52 #2EB071 #4AD090

Accessibility & contrast

On white

4.97
#217F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#217F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F52
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F52#FFFFFF#000000##FFFFFF
##217F521.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f52;
/* rgb */ color: rgb(33, 127, 82);
/* oklch */ color: oklch(53.1% 0.112 157.6);
Tailwind
colors: {
  custom: {
    50: '#6aa583',
    500: '#217f52',
    950: '#000000',
  },
}
SCSS
$custom: #217f52;
$custom-light: #6aa583;
$custom-dark: #000000;
JSON
{
  "hex": "#217f52",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 151.277,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.531,
    "c": 0.1117,
    "h": 157.6
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#217F52
secondary
#B24A7C
accent
#4691E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217F52

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

Preview Lab → · Contrast checker → · Palette generator →

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