#217B52#217B52

#217B52 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.106 H 159.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217B52
RGBrgb(33, 123, 82)
HSLhsl(153, 58%, 31%)
HSVhsv(153, 73%, 48%)
CMYKcmyk(73.2%, 0%, 33.3%, 51.8%)
CIE-LABlab(45.77, -36.40, 15.05)
CIE-LCHlch(45.77, 39.39, 157.54°)
OKLaboklab(51.99% -0.0989 0.0381)
OKLCHoklch(51.99% 0.106 159)
XYZxyz(9.2322, 15.0974, 10.4085)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B52 #7B214A
analogous
#217B25 #217B52 #21777B
triadic
#217B52 #52217B #7B5221
tetradic
#217B52 #25217B #7B214A #777B21
square
#217B52 #25217B #7B214A #777B21
split-complementary
#217B52 #7B2177 #7B2521
monochromatic
#071A12 #144B32 #217B52 #2EAB72 #48CE91

Accessibility & contrast

On white

5.22
#217B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B52
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B52#FFFFFF#000000##FFFFFF
##217B521.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714F
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b52;
/* rgb */ color: rgb(33, 123, 82);
/* oklch */ color: oklch(52.0% 0.106 159.0);
Tailwind
colors: {
  custom: {
    50: '#6aa282',
    500: '#217b52',
    950: '#000000',
  },
}
SCSS
$custom: #217b52;
$custom-light: #6aa282;
$custom-dark: #000000;
JSON
{
  "hex": "#217b52",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 152.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.10602,
    "h": 159
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#217B52
secondary
#AE4A77
accent
#478DE1
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217B52

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

Preview Lab → · Contrast checker → · Palette generator →

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