#217E4A#217E4A

#217E4A is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.118 H 154.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#217E4A
RGBrgb(33, 126, 74)
HSLhsl(146, 58%, 31%)
HSVhsv(146, 74%, 49%)
CMYKcmyk(73.8%, 0%, 41.3%, 50.6%)
CIE-LABlab(46.63, -39.36, 20.78)
CIE-LCHlch(46.63, 44.51, 152.16°)
OKLaboklab(52.65% -0.1062 0.0517)
OKLCHoklch(52.65% 0.118 154)
XYZxyz(9.3232, 15.7384, 9.0237)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E4A #7E2155
analogous
#267E21 #217E4A #217E78
triadic
#217E4A #4A217E #7E4A21
tetradic
#217E4A #21267E #7E2155 #7E7821
square
#217E4A #21267E #7E2155 #7E7821
split-complementary
#217E4A #78217E #7E2126
monochromatic
#081D11 #144E2E #217E4A #2EAE66 #4AD085

Accessibility & contrast

On white

5.06
#217E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E4A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E4A#FFFFFF#000000##FFFFFF
##217E4A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7346
Deuteranopia (green-blind)
#726B4D
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e4a;
/* rgb */ color: rgb(33, 126, 74);
/* oklch */ color: oklch(52.6% 0.118 154.0);
Tailwind
colors: {
  custom: {
    50: '#6aa47d',
    500: '#217e4a',
    950: '#000000',
  },
}
SCSS
$custom: #217e4a;
$custom-light: #6aa47d;
$custom-dark: #000000;
JSON
{
  "hex": "#217e4a",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 74
  },
  "hsl": {
    "h": 146.452,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.11812,
    "h": 154
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#217E4A
secondary
#B14A83
accent
#469DE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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