#217B5F#217B5F

#217B5F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.3% C 0.094 H 167.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#217B5F
RGBrgb(33, 123, 95)
HSLhsl(161, 58%, 31%)
HSVhsv(161, 73%, 48%)
CMYKcmyk(73.2%, 0%, 22.8%, 51.8%)
CIE-LABlab(46.06, -33.25, 7.86)
CIE-LCHlch(46.06, 34.17, 166.71°)
OKLaboklab(52.33% -0.0923 0.0201)
OKLCHoklch(52.33% 0.094 167.7)
XYZxyz(9.7746, 15.3144, 13.2651)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B5F #7B213D
analogous
#217B32 #217B5F #216A7B
triadic
#217B5F #5F217B #7B5F21
tetradic
#217B5F #32217B #7B213D #6A7B21
square
#217B5F #32217B #7B213D #6A7B21
split-complementary
#217B5F #7B216A #7B3221
monochromatic
#071A14 #144B3A #217B5F #2EAB84 #48CEA4

Accessibility & contrast

On white

5.17
#217B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#217B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B5F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B5F#FFFFFF#000000##FFFFFF
##217B5F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725E
Deuteranopia (green-blind)
#6C6A61
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217b5f;
/* rgb */ color: rgb(33, 123, 95);
/* oklch */ color: oklch(52.3% 0.094 167.7);
Tailwind
colors: {
  custom: {
    50: '#6aa28c',
    500: '#217b5f',
    950: '#000000',
  },
}
SCSS
$custom: #217b5f;
$custom-light: #6aa28c;
$custom-dark: #000000;
JSON
{
  "hex": "#217b5f",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 161.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.09446,
    "h": 167.7
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#217B5F
secondary
#AE4A69
accent
#4777E1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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