#217A4A#217A4A

#217A4A is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.112 H 155.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#217A4A
RGBrgb(33, 122, 74)
HSLhsl(148, 57%, 30%)
HSVhsv(148, 73%, 48%)
CMYKcmyk(73%, 0%, 39.3%, 52.2%)
CIE-LABlab(45.27, -37.71, 18.98)
CIE-LCHlch(45.27, 42.22, 153.28°)
OKLaboklab(51.53% -0.1019 0.0475)
OKLCHoklch(51.53% 0.112 155)
XYZxyz(8.8220, 14.7358, 8.8566)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A4A #7A2151
analogous
#257A21 #217A4A #217A76
triadic
#217A4A #4A217A #7A4A21
tetradic
#217A4A #21257A #7A2151 #7A7621
square
#217A4A #21257A #7A2151 #7A7621
split-complementary
#217A4A #76217A #7A2125
monochromatic
#071A10 #144A2D #217A4A #2EAA67 #48CD85

Accessibility & contrast

On white

5.32
#217A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#217A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A4A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A4A#FFFFFF#000000##FFFFFF
##217A4A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7047
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a4a;
/* rgb */ color: rgb(33, 122, 74);
/* oklch */ color: oklch(51.5% 0.112 155.0);
Tailwind
colors: {
  custom: {
    50: '#69a17d',
    500: '#217a4a',
    950: '#000000',
  },
}
SCSS
$custom: #217a4a;
$custom-light: #69a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#217a4a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 147.64,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.11242,
    "h": 155
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#217A4A
secondary
#AD4A7F
accent
#479AE1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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