#217B54#217B54

#217B54 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.104 H 160.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217B54
RGBrgb(33, 123, 84)
HSLhsl(154, 58%, 31%)
HSVhsv(154, 73%, 48%)
CMYKcmyk(73.2%, 0%, 31.7%, 51.8%)
CIE-LABlab(45.81, -35.94, 13.94)
CIE-LCHlch(45.81, 38.55, 158.79°)
OKLaboklab(52.04% -0.0979 0.0354)
OKLCHoklch(52.04% 0.104 160.1)
XYZxyz(9.3094, 15.1283, 10.8152)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B54 #7B2148
analogous
#217B27 #217B54 #21757B
triadic
#217B54 #54217B #7B5421
tetradic
#217B54 #27217B #7B2148 #757B21
square
#217B54 #27217B #7B2148 #757B21
split-complementary
#217B54 #7B2175 #7B2721
monochromatic
#071A12 #144B33 #217B54 #2EAB75 #48CE94

Accessibility & contrast

On white

5.22
#217B54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#217B54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B54
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B54#FFFFFF#000000##FFFFFF
##217B541.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797152
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b54;
/* rgb */ color: rgb(33, 123, 84);
/* oklch */ color: oklch(52.0% 0.104 160.1);
Tailwind
colors: {
  custom: {
    50: '#6aa284',
    500: '#217b54',
    950: '#000000',
  },
}
SCSS
$custom: #217b54;
$custom-light: #6aa284;
$custom-dark: #000000;
JSON
{
  "hex": "#217b54",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 84
  },
  "hsl": {
    "h": 154,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.10412,
    "h": 160.1
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#217B54
secondary
#AE4A75
accent
#478AE1
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B54

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

Preview Lab → · Contrast checker → · Palette generator →

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