#217D4A#217D4A

#217D4A is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.117 H 154.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#217D4A
RGBrgb(33, 125, 74)
HSLhsl(147, 58%, 31%)
HSVhsv(147, 74%, 49%)
CMYKcmyk(73.6%, 0%, 40.8%, 51%)
CIE-LABlab(46.29, -38.95, 20.34)
CIE-LCHlch(46.29, 43.94, 152.43°)
OKLaboklab(52.37% -0.1051 0.0507)
OKLCHoklch(52.37% 0.117 154.3)
XYZxyz(9.1960, 15.4839, 8.9813)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D4A #7D2154
analogous
#267D21 #217D4A #217D78
triadic
#217D4A #4A217D #7D4A21
tetradic
#217D4A #21267D #7D2154 #7D7821
square
#217D4A #21267D #7D2154 #7D7821
split-complementary
#217D4A #78217D #7D2126
monochromatic
#071C11 #144D2D #217D4A #2EAD67 #49CF85

Accessibility & contrast

On white

5.13
#217D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#217D4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D4A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D4A#FFFFFF#000000##FFFFFF
##217D4A1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7246
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217d4a;
/* rgb */ color: rgb(33, 125, 74);
/* oklch */ color: oklch(52.4% 0.117 154.3);
Tailwind
colors: {
  custom: {
    50: '#6aa37d',
    500: '#217d4a',
    950: '#000000',
  },
}
SCSS
$custom: #217d4a;
$custom-light: #6aa37d;
$custom-dark: #000000;
JSON
{
  "hex": "#217d4a",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 74
  },
  "hsl": {
    "h": 146.739,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.11671,
    "h": 154.3
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#217D4A
secondary
#B04A82
accent
#469CE1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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