#217D5F#217D5F

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

Color values

HEX#217D5F
RGBrgb(33, 125, 95)
HSLhsl(160, 58%, 31%)
HSVhsv(160, 74%, 49%)
CMYKcmyk(73.6%, 0%, 24%, 51%)
CIE-LABlab(46.73, -34.15, 8.80)
CIE-LCHlch(46.73, 35.27, 165.55°)
OKLaboklab(52.88% -0.0945 0.0225)
OKLCHoklch(52.88% 0.097 166.6)
XYZxyz(10.0253, 15.8156, 13.3486)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D5F #7D213F
analogous
#217D31 #217D5F #216D7D
triadic
#217D5F #5F217D #7D5F21
tetradic
#217D5F #31217D #7D213F #6D7D21
square
#217D5F #31217D #7D213F #6D7D21
split-complementary
#217D5F #7D216D #7D3121
monochromatic
#071C15 #144D3A #217D5F #2EAD84 #49CFA3

Accessibility & contrast

On white

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

On black

4.16
#217D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217D5F#FFFFFF#000000##FFFFFF
##217D5F1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#007D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217d5f;
/* rgb */ color: rgb(33, 125, 95);
/* oklch */ color: oklch(52.9% 0.097 166.6);
Tailwind
colors: {
  custom: {
    50: '#6aa38c',
    500: '#217d5f',
    950: '#000000',
  },
}
SCSS
$custom: #217d5f;
$custom-light: #6aa38c;
$custom-dark: #000000;
JSON
{
  "hex": "#217d5f",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 160.435,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.09713,
    "h": 166.6
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#217D5F
secondary
#B04A6B
accent
#4679E1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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