#217F5C#217F5C

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

Color values

HEX#217F5C
RGBrgb(33, 127, 92)
HSLhsl(158, 59%, 31%)
HSVhsv(158, 74%, 50%)
CMYKcmyk(74%, 0%, 27.6%, 50.2%)
CIE-LABlab(47.33, -35.78, 11.40)
CIE-LCHlch(47.33, 37.56, 162.33°)
OKLaboklab(53.35% -0.0982 0.0291)
OKLCHoklch(53.35% 0.102 163.5)
XYZxyz(10.1472, 16.2736, 12.7295)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F5C #7F2144
analogous
#217F2D #217F5C #21737F
triadic
#217F5C #5C217F #7F5C21
tetradic
#217F5C #2D217F #7F2144 #737F21
square
#217F5C #2D217F #7F2144 #737F21
split-complementary
#217F5C #7F2173 #7F2D21
monochromatic
#081E16 #144E39 #217F5C #2EB07F #4AD09E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F5C#FFFFFF#000000##FFFFFF
##217F5C1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217f5c;
/* rgb */ color: rgb(33, 127, 92);
/* oklch */ color: oklch(53.3% 0.102 163.5);
Tailwind
colors: {
  custom: {
    50: '#6ba58a',
    500: '#217f5c',
    950: '#000000',
  },
}
SCSS
$custom: #217f5c;
$custom-light: #6ba58a;
$custom-dark: #000000;
JSON
{
  "hex": "#217f5c",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 92
  },
  "hsl": {
    "h": 157.66,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.10241,
    "h": 163.5
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#217F5C
secondary
#B24A71
accent
#4680E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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