#217E42#217E42

#217E42 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.126 H 150.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#217E42
RGBrgb(33, 126, 66)
HSLhsl(141, 58%, 31%)
HSVhsv(141, 74%, 49%)
CMYKcmyk(73.8%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.50, -40.88, 25.07)
CIE-LCHlch(46.50, 47.96, 148.49°)
OKLaboklab(52.49% -0.11 0.0615)
OKLCHoklch(52.49% 0.126 150.8)
XYZxyz(9.0707, 15.6374, 7.6935)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E42 #7E215D
analogous
#2E7E21 #217E42 #217E70
triadic
#217E42 #42217E #7E4221
tetradic
#217E42 #212E7E #7E215D #7E7021
square
#217E42 #212E7E #7E215D #7E7021
split-complementary
#217E42 #70217E #7E212E
monochromatic
#081D0F #144E29 #217E42 #2EAE5B #4AD079

Accessibility & contrast

On white

5.09
#217E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E42
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E42#FFFFFF#000000##FFFFFF
##217E421.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733D
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e42;
/* rgb */ color: rgb(33, 126, 66);
/* oklch */ color: oklch(52.5% 0.126 150.8);
Tailwind
colors: {
  custom: {
    50: '#6aa477',
    500: '#217e42',
    950: '#000000',
  },
}
SCSS
$custom: #217e42;
$custom-light: #6aa477;
$custom-dark: #000000;
JSON
{
  "hex": "#217e42",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 141.29,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.12605,
    "h": 150.8
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#217E42
secondary
#B14A8C
accent
#46AAE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217E42

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

Preview Lab → · Contrast checker → · Palette generator →

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