#217E20#217E20

#217E20 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.155 H 142.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#217E20
RGBrgb(33, 126, 32)
HSLhsl(119, 59%, 31%)
HSVhsv(119, 75%, 49%)
CMYKcmyk(73.8%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.11, -45.45, 41.22)
CIE-LCHlch(46.11, 61.36, 137.79°)
OKLaboklab(52.05% -0.1234 0.0936)
OKLCHoklch(52.05% 0.155 142.8)
XYZxyz(8.3483, 15.3484, 3.8888)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E20 #7D207E
analogous
#507E20 #217E20 #207E4E
triadic
#217E20 #20217E #7E2021
tetradic
#217E20 #20507E #7D207E #7E4E20
square
#217E20 #20507E #7D207E #7E4E20
split-complementary
#217E20 #4E207E #7E2050
monochromatic
#071C07 #144D14 #217E20 #2EAF2C #49D048

Accessibility & contrast

On white

5.16
#217E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E20
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E20#FFFFFF#000000##FFFFFF
##217E201.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#027A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e20;
/* rgb */ color: rgb(33, 126, 32);
/* oklch */ color: oklch(52.0% 0.155 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca462',
    500: '#217e20',
    950: '#000000',
  },
}
SCSS
$custom: #217e20;
$custom-light: #6ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#217e20",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 119.362,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.15493,
    "h": 142.8
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#217E20
secondary
#B049B1
accent
#45E3E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #217E20

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

Preview Lab → · Contrast checker → · Palette generator →

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