#217B51#217B51

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

Color values

HEX#217B51
RGBrgb(33, 123, 81)
HSLhsl(152, 58%, 31%)
HSVhsv(152, 73%, 48%)
CMYKcmyk(73.2%, 0%, 34.1%, 51.8%)
CIE-LABlab(45.75, -36.62, 15.60)
CIE-LCHlch(45.75, 39.81, 156.93°)
OKLaboklab(51.96% -0.0995 0.0394)
OKLCHoklch(51.96% 0.107 158.4)
XYZxyz(9.1945, 15.0823, 10.2096)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B51 #7B214B
analogous
#217B24 #217B51 #21787B
triadic
#217B51 #51217B #7B5121
tetradic
#217B51 #24217B #7B214B #787B21
square
#217B51 #24217B #7B214B #787B21
split-complementary
#217B51 #7B2178 #7B2421
monochromatic
#071A11 #144B31 #217B51 #2EAB71 #48CE90

Accessibility & contrast

On white

5.23
#217B51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217B51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B51
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B51#FFFFFF#000000##FFFFFF
##217B511.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714E
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b51;
/* rgb */ color: rgb(33, 123, 81);
/* oklch */ color: oklch(52.0% 0.107 158.4);
Tailwind
colors: {
  custom: {
    50: '#6aa282',
    500: '#217b51',
    950: '#000000',
  },
}
SCSS
$custom: #217b51;
$custom-light: #6aa282;
$custom-dark: #000000;
JSON
{
  "hex": "#217b51",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 81
  },
  "hsl": {
    "h": 152,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.10698,
    "h": 158.4
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#217B51
secondary
#AE4A79
accent
#478FE1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217B51

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

Preview Lab → · Contrast checker → · Palette generator →

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