#217F51#217F51

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

Color values

HEX#217F51
RGBrgb(33, 127, 81)
HSLhsl(151, 59%, 31%)
HSVhsv(151, 74%, 50%)
CMYKcmyk(74%, 0%, 36.2%, 50.2%)
CIE-LABlab(47.10, -38.31, 17.43)
CIE-LCHlch(47.10, 42.09, 155.54°)
OKLaboklab(53.08% -0.1038 0.0439)
OKLCHoklch(53.08% 0.113 157.1)
XYZxyz(9.7008, 16.0950, 10.3784)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F51 #7F214F
analogous
#217F22 #217F51 #217E7F
triadic
#217F51 #51217F #7F5121
tetradic
#217F51 #22217F #7F214F #7E7F21
square
#217F51 #22217F #7F214F #7E7F21
split-complementary
#217F51 #7F217E #7F2221
monochromatic
#081E13 #144E32 #217F51 #2EB070 #4AD08F

Accessibility & contrast

On white

4.98
#217F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#217F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F51
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F51#FFFFFF#000000##FFFFFF
##217F511.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754E
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217f51;
/* rgb */ color: rgb(33, 127, 81);
/* oklch */ color: oklch(53.1% 0.113 157.1);
Tailwind
colors: {
  custom: {
    50: '#6aa582',
    500: '#217f51',
    950: '#000000',
  },
}
SCSS
$custom: #217f51;
$custom-light: #6aa582;
$custom-dark: #000000;
JSON
{
  "hex": "#217f51",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 81
  },
  "hsl": {
    "h": 150.638,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.11267,
    "h": 157.1
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#217F51
secondary
#B24A7D
accent
#4692E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217F51

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

Preview Lab → · Contrast checker → · Palette generator →

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