#217D4F#217D4F

#217D4F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.5% C 0.112 H 156.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#217D4F
RGBrgb(33, 125, 79)
HSLhsl(150, 58%, 31%)
HSVhsv(150, 74%, 49%)
CMYKcmyk(73.6%, 0%, 36.8%, 51%)
CIE-LABlab(46.38, -37.91, 17.61)
CIE-LCHlch(46.38, 41.80, 155.08°)
OKLaboklab(52.48% -0.1026 0.0443)
OKLCHoklch(52.48% 0.112 156.7)
XYZxyz(9.3712, 15.5540, 9.9040)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D4F #7D214F
analogous
#217D21 #217D4F #217D7D
triadic
#217D4F #4F217D #7D4F21
tetradic
#217D4F #21217D #7D214F #7D7D21
square
#217D4F #21217D #7D214F #7D7D21
split-complementary
#217D4F #7D217D #7D2121
monochromatic
#071C12 #144D30 #217D4F #2EAD6E #49CF8C

Accessibility & contrast

On white

5.11
#217D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D4F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D4F#FFFFFF#000000##FFFFFF
##217D4F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217d4f;
/* rgb */ color: rgb(33, 125, 79);
/* oklch */ color: oklch(52.5% 0.112 156.7);
Tailwind
colors: {
  custom: {
    50: '#6aa380',
    500: '#217d4f',
    950: '#000000',
  },
}
SCSS
$custom: #217d4f;
$custom-light: #6aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#217d4f",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 150,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.11178,
    "h": 156.7
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#217D4F
secondary
#B04A7D
accent
#4694E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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