#217E5B#217E5B

#217E5B is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.0% C 0.102 H 163.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#217E5B
RGBrgb(33, 126, 91)
HSLhsl(157, 58%, 31%)
HSVhsv(157, 74%, 49%)
CMYKcmyk(73.8%, 0%, 27.8%, 50.6%)
CIE-LABlab(46.97, -35.59, 11.48)
CIE-LCHlch(46.97, 37.40, 162.12°)
OKLaboklab(53.04% -0.0976 0.0293)
OKLCHoklch(53.04% 0.102 163.3)
XYZxyz(9.9753, 15.9992, 12.4579)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E5B #7E2144
analogous
#217E2C #217E5B #21727E
triadic
#217E5B #5B217E #7E5B21
tetradic
#217E5B #2C217E #7E2144 #727E21
square
#217E5B #2C217E #7E2144 #727E21
split-complementary
#217E5B #7E2172 #7E2C21
monochromatic
#081D15 #144E38 #217E5B #2EAE7E #4AD09D

Accessibility & contrast

On white

5.00
#217E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#217E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E5B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E5B#FFFFFF#000000##FFFFFF
##217E5B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7459
Deuteranopia (green-blind)
#706C5D
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e5b;
/* rgb */ color: rgb(33, 126, 91);
/* oklch */ color: oklch(53.0% 0.102 163.3);
Tailwind
colors: {
  custom: {
    50: '#6aa489',
    500: '#217e5b',
    950: '#000000',
  },
}
SCSS
$custom: #217e5b;
$custom-light: #6aa489;
$custom-dark: #000000;
JSON
{
  "hex": "#217e5b",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 157.419,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.10191,
    "h": 163.3
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#217E5B
secondary
#B14A71
accent
#4681E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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