#217E51#217E51

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

Color values

HEX#217E51
RGBrgb(33, 126, 81)
HSLhsl(151, 58%, 31%)
HSVhsv(151, 74%, 49%)
CMYKcmyk(73.8%, 0%, 35.7%, 50.6%)
CIE-LABlab(46.76, -37.89, 16.98)
CIE-LCHlch(46.76, 41.52, 155.87°)
OKLaboklab(52.8% -0.1027 0.0428)
OKLCHoklch(52.8% 0.111 157.4)
XYZxyz(9.5723, 15.8380, 10.3355)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E51 #7E214E
analogous
#217E22 #217E51 #217C7E
triadic
#217E51 #51217E #7E5121
tetradic
#217E51 #22217E #7E214E #7C7E21
square
#217E51 #22217E #7E214E #7C7E21
split-complementary
#217E51 #7E217C #7E2221
monochromatic
#081D13 #144E32 #217E51 #2EAE70 #4AD08F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E51#FFFFFF#000000##FFFFFF
##217E511.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)
#7D744E
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e51;
/* rgb */ color: rgb(33, 126, 81);
/* oklch */ color: oklch(52.8% 0.111 157.4);
Tailwind
colors: {
  custom: {
    50: '#6aa482',
    500: '#217e51',
    950: '#000000',
  },
}
SCSS
$custom: #217e51;
$custom-light: #6aa482;
$custom-dark: #000000;
JSON
{
  "hex": "#217e51",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 81
  },
  "hsl": {
    "h": 150.968,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.11125,
    "h": 157.4
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#217E51
secondary
#B14A7C
accent
#4691E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E51

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

Preview Lab → · Contrast checker → · Palette generator →

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