#217D4C#217D4C

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

Color values

HEX#217D4C
RGBrgb(33, 125, 76)
HSLhsl(148, 58%, 31%)
HSVhsv(148, 74%, 49%)
CMYKcmyk(73.6%, 0%, 39.2%, 51%)
CIE-LABlab(46.33, -38.54, 19.25)
CIE-LCHlch(46.33, 43.08, 153.46°)
OKLaboklab(52.41% -0.1041 0.0481)
OKLCHoklch(52.41% 0.115 155.2)
XYZxyz(9.2645, 15.5113, 9.3418)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D4C #7D2152
analogous
#247D21 #217D4C #217D7A
triadic
#217D4C #4C217D #7D4C21
tetradic
#217D4C #21247D #7D2152 #7D7A21
square
#217D4C #21247D #7D2152 #7D7A21
split-complementary
#217D4C #7A217D #7D2124
monochromatic
#071C11 #144D2F #217D4C #2EAD69 #49CF88

Accessibility & contrast

On white

5.12
#217D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217D4C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D4C#FFFFFF#000000##FFFFFF
##217D4C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217d4c;
/* rgb */ color: rgb(33, 125, 76);
/* oklch */ color: oklch(52.4% 0.115 155.2);
Tailwind
colors: {
  custom: {
    50: '#6aa37e',
    500: '#217d4c',
    950: '#000000',
  },
}
SCSS
$custom: #217d4c;
$custom-light: #6aa37e;
$custom-dark: #000000;
JSON
{
  "hex": "#217d4c",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 148.043,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.11473,
    "h": 155.2
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#217D4C
secondary
#B04A80
accent
#4699E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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