#217E52#217E52

#217E52 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.110 H 157.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#217E52
RGBrgb(33, 126, 82)
HSLhsl(152, 58%, 31%)
HSVhsv(152, 74%, 49%)
CMYKcmyk(73.8%, 0%, 34.9%, 50.6%)
CIE-LABlab(46.78, -37.67, 16.43)
CIE-LCHlch(46.78, 41.10, 156.44°)
OKLaboklab(52.82% -0.1022 0.0414)
OKLCHoklch(52.82% 0.11 157.9)
XYZxyz(9.6101, 15.8531, 10.5345)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E52 #7E214D
analogous
#217E23 #217E52 #217B7E
triadic
#217E52 #52217E #7E5221
tetradic
#217E52 #23217E #7E214D #7B7E21
square
#217E52 #23217E #7E214D #7B7E21
split-complementary
#217E52 #7E217B #7E2321
monochromatic
#081D13 #144E32 #217E52 #2EAE72 #4AD090

Accessibility & contrast

On white

5.04
#217E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#217E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E52
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E52#FFFFFF#000000##FFFFFF
##217E521.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#716C55
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e52;
/* rgb */ color: rgb(33, 126, 82);
/* oklch */ color: oklch(52.8% 0.110 157.9);
Tailwind
colors: {
  custom: {
    50: '#6aa483',
    500: '#217e52',
    950: '#000000',
  },
}
SCSS
$custom: #217e52;
$custom-light: #6aa483;
$custom-dark: #000000;
JSON
{
  "hex": "#217e52",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 151.613,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.11028,
    "h": 157.9
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#217E52
secondary
#B14A7B
accent
#4690E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E52

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

Preview Lab → · Contrast checker → · Palette generator →

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