#217D52#217D52

#217D52 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.5% C 0.109 H 158.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#217D52
RGBrgb(33, 125, 82)
HSLhsl(152, 58%, 31%)
HSVhsv(152, 74%, 49%)
CMYKcmyk(73.6%, 0%, 34.4%, 51%)
CIE-LABlab(46.44, -37.25, 15.97)
CIE-LCHlch(46.44, 40.53, 156.80°)
OKLaboklab(52.54% -0.1011 0.0403)
OKLCHoklch(52.54% 0.109 158.3)
XYZxyz(9.4829, 15.5987, 10.4921)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D52 #7D214C
analogous
#217D24 #217D52 #217A7D
triadic
#217D52 #52217D #7D5221
tetradic
#217D52 #24217D #7D214C #7A7D21
square
#217D52 #24217D #7D214C #7A7D21
split-complementary
#217D52 #7D217A #7D2421
monochromatic
#071C12 #144D32 #217D52 #2EAD72 #49CF91

Accessibility & contrast

On white

5.10
#217D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#217D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D52
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D52#FFFFFF#000000##FFFFFF
##217D521.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217d52;
/* rgb */ color: rgb(33, 125, 82);
/* oklch */ color: oklch(52.5% 0.109 158.3);
Tailwind
colors: {
  custom: {
    50: '#6aa383',
    500: '#217d52',
    950: '#000000',
  },
}
SCSS
$custom: #217d52;
$custom-light: #6aa383;
$custom-dark: #000000;
JSON
{
  "hex": "#217d52",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 151.957,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.10886,
    "h": 158.3
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#217D52
secondary
#B04A7A
accent
#468FE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217D52

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

Preview Lab → · Contrast checker → · Palette generator →

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