#217B20#217B20

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

Color values

HEX#217B20
RGBrgb(33, 123, 32)
HSLhsl(119, 59%, 30%)
HSVhsv(119, 74%, 48%)
CMYKcmyk(73.2%, 0%, 74%, 51.8%)
CIE-LABlab(45.07, -44.39, 40.15)
CIE-LCHlch(45.07, 59.85, 137.87°)
OKLaboklab(51.19% -0.1206 0.0914)
OKLCHoklch(51.19% 0.151 142.8)
XYZxyz(7.9704, 14.5927, 3.7628)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B20 #7A207B
analogous
#4E7B20 #217B20 #207B4D
triadic
#217B20 #20217B #7B2021
tetradic
#217B20 #204E7B #7A207B #7B4D20
square
#217B20 #204E7B #7A207B #7B4D20
split-complementary
#217B20 #4D207B #7B204E
monochromatic
#071A07 #144A13 #217B20 #2EAC2D #48CF46

Accessibility & contrast

On white

5.36
#217B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B20
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B20#FFFFFF#000000##FFFFFF
##217B201.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#047769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b20;
/* rgb */ color: rgb(33, 123, 32);
/* oklch */ color: oklch(51.2% 0.151 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ba261',
    500: '#217b20',
    950: '#000000',
  },
}
SCSS
$custom: #217b20;
$custom-light: #6ba261;
$custom-dark: #000000;
JSON
{
  "hex": "#217b20",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 119.341,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.15128,
    "h": 142.8
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#217B20
secondary
#AD49AE
accent
#46E2E0
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217B20

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

Preview Lab → · Contrast checker → · Palette generator →

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