#217F54#217F54

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

Color values

HEX#217F54
RGBrgb(33, 127, 84)
HSLhsl(153, 59%, 31%)
HSVhsv(153, 74%, 50%)
CMYKcmyk(74%, 0%, 33.9%, 50.2%)
CIE-LABlab(47.16, -37.65, 15.79)
CIE-LCHlch(47.16, 40.83, 157.25°)
OKLaboklab(53.15% -0.1023 0.0399)
OKLCHoklch(53.15% 0.11 158.7)
XYZxyz(9.8158, 16.1410, 10.9840)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F54 #7F214C
analogous
#217F25 #217F54 #217B7F
triadic
#217F54 #54217F #7F5421
tetradic
#217F54 #25217F #7F214C #7B7F21
square
#217F54 #25217F #7F214C #7B7F21
split-complementary
#217F54 #7F217B #7F2521
monochromatic
#081E14 #144E34 #217F54 #2EB074 #4AD093

Accessibility & contrast

On white

4.97
#217F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#217F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F54
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F54#FFFFFF#000000##FFFFFF
##217F541.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7551
Deuteranopia (green-blind)
#726C57
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f54;
/* rgb */ color: rgb(33, 127, 84);
/* oklch */ color: oklch(53.1% 0.110 158.7);
Tailwind
colors: {
  custom: {
    50: '#6aa584',
    500: '#217f54',
    950: '#000000',
  },
}
SCSS
$custom: #217f54;
$custom-light: #6aa584;
$custom-dark: #000000;
JSON
{
  "hex": "#217f54",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 84
  },
  "hsl": {
    "h": 152.553,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.10978,
    "h": 158.7
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#217F54
secondary
#B24A79
accent
#468DE2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217F54

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

Preview Lab → · Contrast checker → · Palette generator →

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