#217F5B#217F5B

#217F5B is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.3% C 0.103 H 162.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#217F5B
RGBrgb(33, 127, 91)
HSLhsl(157, 59%, 31%)
HSVhsv(157, 74%, 50%)
CMYKcmyk(74%, 0%, 28.3%, 50.2%)
CIE-LABlab(47.31, -36.03, 11.95)
CIE-LCHlch(47.31, 37.96, 161.65°)
OKLaboklab(53.32% -0.0987 0.0304)
OKLCHoklch(53.32% 0.103 162.9)
XYZxyz(10.1038, 16.2562, 12.5008)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F5B #7F2145
analogous
#217F2C #217F5B #21747F
triadic
#217F5B #5B217F #7F5B21
tetradic
#217F5B #2C217F #7F2145 #747F21
square
#217F5B #2C217F #7F2145 #747F21
split-complementary
#217F5B #7F2174 #7F2C21
monochromatic
#081E15 #144E38 #217F5B #2EB07E #4AD09D

Accessibility & contrast

On white

4.94
#217F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#217F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F5B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F5B#FFFFFF#000000##FFFFFF
##217F5B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7559
Deuteranopia (green-blind)
#716D5D
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f5b;
/* rgb */ color: rgb(33, 127, 91);
/* oklch */ color: oklch(53.3% 0.103 162.9);
Tailwind
colors: {
  custom: {
    50: '#6ba589',
    500: '#217f5b',
    950: '#000000',
  },
}
SCSS
$custom: #217f5b;
$custom-light: #6ba589;
$custom-dark: #000000;
JSON
{
  "hex": "#217f5b",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 91
  },
  "hsl": {
    "h": 157.021,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.1033,
    "h": 162.9
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#217F5B
secondary
#B24A72
accent
#4682E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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