#217B22#217B22

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

Color values

HEX#217B22
RGBrgb(33, 123, 34)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 73%, 48%)
CMYKcmyk(73.2%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.09, -44.20, 39.34)
CIE-LCHlch(45.09, 59.17, 138.33°)
OKLaboklab(51.2% -0.1199 0.09)
OKLCHoklch(51.2% 0.15 143.1)
XYZxyz(7.9984, 14.6039, 3.9104)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B22 #7B217A
analogous
#4D7B21 #217B22 #217B4F
triadic
#217B22 #22217B #7B2221
tetradic
#217B22 #214D7B #7B217A #7B4F21
square
#217B22 #214D7B #7B217A #7B4F21
split-complementary
#217B22 #4F217B #7B214D
monochromatic
#071A07 #144B15 #217B22 #2EAB2F #48CE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B22#FFFFFF#000000##FFFFFF
##217B221.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)
#7E6F14
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#037769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b22;
/* rgb */ color: rgb(33, 123, 34);
/* oklch */ color: oklch(51.2% 0.150 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ba262',
    500: '#217b22',
    950: '#000000',
  },
}
SCSS
$custom: #217b22;
$custom-light: #6ba262;
$custom-dark: #000000;
JSON
{
  "hex": "#217b22",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 120.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.14993,
    "h": 143.1
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#217B22
secondary
#AE4AAD
accent
#47DFE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217B22

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

Preview Lab → · Contrast checker → · Palette generator →

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