#217B4E#217B4E

#217B4E is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.9% C 0.110 H 156.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217B4E
RGBrgb(33, 123, 78)
HSLhsl(150, 58%, 31%)
HSVhsv(150, 73%, 48%)
CMYKcmyk(73.2%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.69, -37.28, 17.25)
CIE-LCHlch(45.69, 41.08, 155.18°)
OKLaboklab(51.9% -0.101 0.0434)
OKLCHoklch(51.9% 0.11 156.8)
XYZxyz(9.0844, 15.0383, 9.6302)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B4E #7B214E
analogous
#217B21 #217B4E #217B7B
triadic
#217B4E #4E217B #7B4E21
tetradic
#217B4E #21217B #7B214E #7B7B21
square
#217B4E #21217B #7B214E #7B7B21
split-complementary
#217B4E #7B217B #7B2121
monochromatic
#071A11 #144B2F #217B4E #2EAB6D #48CE8B

Accessibility & contrast

On white

5.24
#217B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#217B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B4E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B4E#FFFFFF#000000##FFFFFF
##217B4E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b4e;
/* rgb */ color: rgb(33, 123, 78);
/* oklch */ color: oklch(51.9% 0.110 156.8);
Tailwind
colors: {
  custom: {
    50: '#6aa280',
    500: '#217b4e',
    950: '#000000',
  },
}
SCSS
$custom: #217b4e;
$custom-light: #6aa280;
$custom-dark: #000000;
JSON
{
  "hex": "#217b4e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 150,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.1099,
    "h": 156.8
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#217B4E
secondary
#AE4A7C
accent
#4794E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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