#217A20#217A20

#217A20 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.150 H 142.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#217A20
RGBrgb(33, 122, 32)
HSLhsl(119, 58%, 30%)
HSVhsv(119, 74%, 48%)
CMYKcmyk(73%, 0%, 73.8%, 52.2%)
CIE-LABlab(44.72, -44.03, 39.79)
CIE-LCHlch(44.72, 59.34, 137.89°)
OKLaboklab(50.9% -0.1196 0.0906)
OKLCHoklch(50.9% 0.15 142.8)
XYZxyz(7.8470, 14.3458, 3.7217)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A20 #79207A
analogous
#4E7A20 #217A20 #207A4C
triadic
#217A20 #20217A #7A2021
tetradic
#217A20 #204E7A #79207A #7A4C20
square
#217A20 #204E7A #79207A #7A4C20
split-complementary
#217A20 #4C207A #7A204E
monochromatic
#071907 #144A13 #217A20 #2EAA2D #47CE46

Accessibility & contrast

On white

5.43
#217A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A20
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A20#FFFFFF#000000##FFFFFF
##217A201.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#057668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a20;
/* rgb */ color: rgb(33, 122, 32);
/* oklch */ color: oklch(50.9% 0.150 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ba161',
    500: '#217a20',
    950: '#000000',
  },
}
SCSS
$custom: #217a20;
$custom-light: #6ba161;
$custom-dark: #000000;
JSON
{
  "hex": "#217a20",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 119.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.15006,
    "h": 142.8
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#217A20
secondary
#AC49AD
accent
#46E2E0
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A20

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

Preview Lab → · Contrast checker → · Palette generator →

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