#217D4D#217D4D

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

Color values

HEX#217D4D
RGBrgb(33, 125, 77)
HSLhsl(149, 58%, 31%)
HSVhsv(149, 74%, 49%)
CMYKcmyk(73.6%, 0%, 38.4%, 51%)
CIE-LABlab(46.35, -38.33, 18.70)
CIE-LCHlch(46.35, 42.65, 153.99°)
OKLaboklab(52.43% -0.1036 0.0469)
OKLCHoklch(52.43% 0.114 155.7)
XYZxyz(9.2995, 15.5253, 9.5263)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D4D #7D2151
analogous
#237D21 #217D4D #217D7B
triadic
#217D4D #4D217D #7D4D21
tetradic
#217D4D #21237D #7D2151 #7D7B21
square
#217D4D #21237D #7D2151 #7D7B21
split-complementary
#217D4D #7B217D #7D2123
monochromatic
#071C11 #144D2F #217D4D #2EAD6B #49CF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D4D#FFFFFF#000000##FFFFFF
##217D4D1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217d4d;
/* rgb */ color: rgb(33, 125, 77);
/* oklch */ color: oklch(52.4% 0.114 155.7);
Tailwind
colors: {
  custom: {
    50: '#6aa37f',
    500: '#217d4d',
    950: '#000000',
  },
}
SCSS
$custom: #217d4d;
$custom-light: #6aa37f;
$custom-dark: #000000;
JSON
{
  "hex": "#217d4d",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 77
  },
  "hsl": {
    "h": 148.696,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.11374,
    "h": 155.7
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#217D4D
secondary
#B04A7F
accent
#4697E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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