#217D20#217D20

#217D20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.154 H 142.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#217D20
RGBrgb(33, 125, 32)
HSLhsl(119, 59%, 31%)
HSVhsv(119, 74%, 49%)
CMYKcmyk(73.6%, 0%, 74.4%, 51%)
CIE-LABlab(45.76, -45.10, 40.86)
CIE-LCHlch(45.76, 60.86, 137.82°)
OKLaboklab(51.76% -0.1225 0.0929)
OKLCHoklch(51.76% 0.154 142.8)
XYZxyz(8.2210, 15.0939, 3.8464)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D20 #7C207D
analogous
#4F7D20 #217D20 #207D4D
triadic
#217D20 #20217D #7D2021
tetradic
#217D20 #204F7D #7C207D #7D4D20
square
#217D20 #204F7D #7C207D #7D4D20
split-complementary
#217D20 #4D207D #7D204F
monochromatic
#071C07 #144C14 #217D20 #2EAE2C #49D047

Accessibility & contrast

On white

5.23
#217D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D20
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D20#FFFFFF#000000##FFFFFF
##217D201.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#03796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d20;
/* rgb */ color: rgb(33, 125, 32);
/* oklch */ color: oklch(51.8% 0.154 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca462',
    500: '#217d20',
    950: '#000000',
  },
}
SCSS
$custom: #217d20;
$custom-light: #6ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#217d20",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 119.355,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.15372,
    "h": 142.8
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#217D20
secondary
#AF49B0
accent
#45E2E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217D20

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

Preview Lab → · Contrast checker → · Palette generator →

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