#217D51#217D51

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

Color values

HEX#217D51
RGBrgb(33, 125, 81)
HSLhsl(151, 58%, 31%)
HSVhsv(151, 74%, 49%)
CMYKcmyk(73.6%, 0%, 35.2%, 51%)
CIE-LABlab(46.42, -37.47, 16.52)
CIE-LCHlch(46.42, 40.95, 156.21°)
OKLaboklab(52.52% -0.1016 0.0416)
OKLCHoklch(52.52% 0.11 157.7)
XYZxyz(9.4451, 15.5836, 10.2931)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D51 #7D214D
analogous
#217D23 #217D51 #217B7D
triadic
#217D51 #51217D #7D5121
tetradic
#217D51 #23217D #7D214D #7B7D21
square
#217D51 #23217D #7D214D #7B7D21
split-complementary
#217D51 #7D217B #7D2321
monochromatic
#071C12 #144D32 #217D51 #2EAD70 #49CF8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D51#FFFFFF#000000##FFFFFF
##217D511.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)
#7C734E
Deuteranopia (green-blind)
#706B54
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217d51;
/* rgb */ color: rgb(33, 125, 81);
/* oklch */ color: oklch(52.5% 0.110 157.7);
Tailwind
colors: {
  custom: {
    50: '#6aa382',
    500: '#217d51',
    950: '#000000',
  },
}
SCSS
$custom: #217d51;
$custom-light: #6aa382;
$custom-dark: #000000;
JSON
{
  "hex": "#217d51",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 81
  },
  "hsl": {
    "h": 151.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.10983,
    "h": 157.7
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#217D51
secondary
#B04A7B
accent
#4691E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217D51

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

Preview Lab → · Contrast checker → · Palette generator →

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