#217E5F#217E5F

#217E5F is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.098 H 166.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#217E5F
RGBrgb(33, 126, 95)
HSLhsl(160, 58%, 31%)
HSVhsv(160, 74%, 49%)
CMYKcmyk(73.8%, 0%, 24.6%, 50.6%)
CIE-LABlab(47.07, -34.60, 9.28)
CIE-LCHlch(47.07, 35.82, 164.99°)
OKLaboklab(53.15% -0.0956 0.0237)
OKLCHoklch(53.15% 0.098 166.1)
XYZxyz(10.1525, 16.0701, 13.3910)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E5F #7E2140
analogous
#217E30 #217E5F #216E7E
triadic
#217E5F #5F217E #7E5F21
tetradic
#217E5F #30217E #7E2140 #6E7E21
square
#217E5F #30217E #7E2140 #6E7E21
split-complementary
#217E5F #7E216E #7E3021
monochromatic
#081D16 #144E3A #217E5F #2EAE84 #4AD0A3

Accessibility & contrast

On white

4.98
#217E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#217E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E5F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E5F#FFFFFF#000000##FFFFFF
##217E5F1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217e5f;
/* rgb */ color: rgb(33, 126, 95);
/* oklch */ color: oklch(53.1% 0.098 166.1);
Tailwind
colors: {
  custom: {
    50: '#6ba48c',
    500: '#217e5f',
    950: '#000000',
  },
}
SCSS
$custom: #217e5f;
$custom-light: #6ba48c;
$custom-dark: #000000;
JSON
{
  "hex": "#217e5f",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 95
  },
  "hsl": {
    "h": 160,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.09848,
    "h": 166.1
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#217E5F
secondary
#B14A6C
accent
#467AE2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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