#217C4D#217C4D

#217C4D is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.112 H 155.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#217C4D
RGBrgb(33, 124, 77)
HSLhsl(149, 58%, 31%)
HSVhsv(149, 73%, 49%)
CMYKcmyk(73.4%, 0%, 37.9%, 51.4%)
CIE-LABlab(46.01, -37.92, 18.25)
CIE-LCHlch(46.01, 42.08, 154.30°)
OKLaboklab(52.15% -0.1026 0.0458)
OKLCHoklch(52.15% 0.112 155.9)
XYZxyz(9.1735, 15.2734, 9.4843)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C4D #7C2150
analogous
#227C21 #217C4D #217C7A
triadic
#217C4D #4D217C #7C4D21
tetradic
#217C4D #21227C #7C2150 #7C7A21
square
#217C4D #21227C #7C2150 #7C7A21
split-complementary
#217C4D #7A217C #7C2122
monochromatic
#071B11 #144C2F #217C4D #2EAC6B #49CF89

Accessibility & contrast

On white

5.18
#217C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C4D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C4D#FFFFFF#000000##FFFFFF
##217C4D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724A
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217c4d;
/* rgb */ color: rgb(33, 124, 77);
/* oklch */ color: oklch(52.2% 0.112 155.9);
Tailwind
colors: {
  custom: {
    50: '#6aa37f',
    500: '#217c4d',
    950: '#000000',
  },
}
SCSS
$custom: #217c4d;
$custom-light: #6aa37f;
$custom-dark: #000000;
JSON
{
  "hex": "#217c4d",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 77
  },
  "hsl": {
    "h": 149.011,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.11231,
    "h": 155.9
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#217C4D
secondary
#AF4A7E
accent
#4796E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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