#217F5D#217F5D

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

Color values

HEX#217F5D
RGBrgb(33, 127, 93)
HSLhsl(158, 59%, 31%)
HSVhsv(158, 74%, 50%)
CMYKcmyk(74%, 0%, 26.8%, 50.2%)
CIE-LABlab(47.35, -35.54, 10.85)
CIE-LCHlch(47.35, 37.16, 163.03°)
OKLaboklab(53.37% -0.0977 0.0277)
OKLCHoklch(53.37% 0.102 164.2)
XYZxyz(10.1912, 16.2912, 12.9612)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F5D #7F2143
analogous
#217F2E #217F5D #21727F
triadic
#217F5D #5D217F #7F5D21
tetradic
#217F5D #2E217F #7F2143 #727F21
square
#217F5D #2E217F #7F2143 #727F21
split-complementary
#217F5D #7F2172 #7F2E21
monochromatic
#081E16 #144E39 #217F5D #2EB081 #4AD0A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F5D#FFFFFF#000000##FFFFFF
##217F5D1.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)
#7C755B
Deuteranopia (green-blind)
#706D5F
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f5d;
/* rgb */ color: rgb(33, 127, 93);
/* oklch */ color: oklch(53.4% 0.102 164.2);
Tailwind
colors: {
  custom: {
    50: '#6ba58b',
    500: '#217f5d',
    950: '#000000',
  },
}
SCSS
$custom: #217f5d;
$custom-light: #6ba58b;
$custom-dark: #000000;
JSON
{
  "hex": "#217f5d",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 93
  },
  "hsl": {
    "h": 158.298,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.10154,
    "h": 164.2
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#217F5D
secondary
#B24A70
accent
#467EE2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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