#217F5E#217F5E

#217F5E is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.4% C 0.101 H 164.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#217F5E
RGBrgb(33, 127, 94)
HSLhsl(159, 59%, 31%)
HSVhsv(159, 74%, 50%)
CMYKcmyk(74%, 0%, 26%, 50.2%)
CIE-LABlab(47.38, -35.29, 10.30)
CIE-LCHlch(47.38, 36.77, 163.74°)
OKLaboklab(53.4% -0.0972 0.0263)
OKLCHoklch(53.4% 0.101 164.9)
XYZxyz(10.2358, 16.3090, 13.1960)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F5E #7F2142
analogous
#217F2F #217F5E #21717F
triadic
#217F5E #5E217F #7F5E21
tetradic
#217F5E #2F217F #7F2142 #717F21
square
#217F5E #2F217F #7F2142 #717F21
split-complementary
#217F5E #7F2171 #7F2F21
monochromatic
#081E16 #144E3A #217F5E #2EB082 #4AD0A1

Accessibility & contrast

On white

4.93
#217F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#217F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F5E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F5E#FFFFFF#000000##FFFFFF
##217F5E1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C765C
Deuteranopia (green-blind)
#706D60
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f5e;
/* rgb */ color: rgb(33, 127, 94);
/* oklch */ color: oklch(53.4% 0.101 164.9);
Tailwind
colors: {
  custom: {
    50: '#6ba58b',
    500: '#217f5e',
    950: '#000000',
  },
}
SCSS
$custom: #217f5e;
$custom-light: #6ba58b;
$custom-dark: #000000;
JSON
{
  "hex": "#217f5e",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 94
  },
  "hsl": {
    "h": 158.936,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.10068,
    "h": 164.9
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#217F5E
secondary
#B24A6E
accent
#467DE2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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