#217D4B#217D4B

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

Color values

HEX#217D4B
RGBrgb(33, 125, 75)
HSLhsl(147, 58%, 31%)
HSVhsv(147, 74%, 49%)
CMYKcmyk(73.6%, 0%, 40%, 51%)
CIE-LABlab(46.31, -38.75, 19.79)
CIE-LCHlch(46.31, 43.51, 152.94°)
OKLaboklab(52.39% -0.1046 0.0494)
OKLCHoklch(52.39% 0.116 154.7)
XYZxyz(9.2300, 15.4975, 9.1601)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D4B #7D2153
analogous
#257D21 #217D4B #217D79
triadic
#217D4B #4B217D #7D4B21
tetradic
#217D4B #21257D #7D2153 #7D7921
square
#217D4B #21257D #7D2153 #7D7921
split-complementary
#217D4B #79217D #7D2125
monochromatic
#071C11 #144D2E #217D4B #2EAD68 #49CF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D4B#FFFFFF#000000##FFFFFF
##217D4B1.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)
#7D7348
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217d4b;
/* rgb */ color: rgb(33, 125, 75);
/* oklch */ color: oklch(52.4% 0.116 154.7);
Tailwind
colors: {
  custom: {
    50: '#6aa37d',
    500: '#217d4b',
    950: '#000000',
  },
}
SCSS
$custom: #217d4b;
$custom-light: #6aa37d;
$custom-dark: #000000;
JSON
{
  "hex": "#217d4b",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 75
  },
  "hsl": {
    "h": 147.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52388,
    "c": 0.11571,
    "h": 154.7
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#217D4B
secondary
#B04A81
accent
#469BE1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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