#217C52#217C52

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

Color values

HEX#217C52
RGBrgb(33, 124, 82)
HSLhsl(152, 58%, 31%)
HSVhsv(152, 73%, 49%)
CMYKcmyk(73.4%, 0%, 33.9%, 51.4%)
CIE-LABlab(46.11, -36.83, 15.51)
CIE-LCHlch(46.11, 39.96, 157.16°)
OKLaboklab(52.27% -0.1 0.0392)
OKLCHoklch(52.27% 0.107 158.6)
XYZxyz(9.3569, 15.3468, 10.4501)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C52 #7C214B
analogous
#217C24 #217C52 #21787C
triadic
#217C52 #52217C #7C5221
tetradic
#217C52 #24217C #7C214B #787C21
square
#217C52 #24217C #7C214B #787C21
split-complementary
#217C52 #7C2178 #7C2421
monochromatic
#071B12 #144C32 #217C52 #2EAC72 #49CF91

Accessibility & contrast

On white

5.16
#217C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C52
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C52#FFFFFF#000000##FFFFFF
##217C521.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217c52;
/* rgb */ color: rgb(33, 124, 82);
/* oklch */ color: oklch(52.3% 0.107 158.6);
Tailwind
colors: {
  custom: {
    50: '#6aa383',
    500: '#217c52',
    950: '#000000',
  },
}
SCSS
$custom: #217c52;
$custom-light: #6aa383;
$custom-dark: #000000;
JSON
{
  "hex": "#217c52",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 152.308,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.10744,
    "h": 158.6
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#217C52
secondary
#AF4A79
accent
#478EE1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217C52

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

Preview Lab → · Contrast checker → · Palette generator →

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