#217A22#217A22

#217A22 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.149 H 143.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217A22
RGBrgb(33, 122, 34)
HSLhsl(121, 57%, 30%)
HSVhsv(121, 73%, 48%)
CMYKcmyk(73%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.74, -43.84, 38.97)
CIE-LCHlch(44.74, 58.66, 138.36°)
OKLaboklab(50.92% -0.119 0.0892)
OKLCHoklch(50.92% 0.149 143.1)
XYZxyz(7.8750, 14.3570, 3.8692)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A22 #7A2179
analogous
#4C7A21 #217A22 #217A4E
triadic
#217A22 #22217A #7A2221
tetradic
#217A22 #214C7A #7A2179 #7A4E21
square
#217A22 #214C7A #7A2179 #7A4E21
split-complementary
#217A22 #4E217A #7A214C
monochromatic
#071A07 #144A15 #217A22 #2EAA2F #48CD49

Accessibility & contrast

On white

5.42
#217A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A22
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A22#FFFFFF#000000##FFFFFF
##217A221.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#047668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a22;
/* rgb */ color: rgb(33, 122, 34);
/* oklch */ color: oklch(50.9% 0.149 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ba162',
    500: '#217a22',
    950: '#000000',
  },
}
SCSS
$custom: #217a22;
$custom-light: #6ba162;
$custom-dark: #000000;
JSON
{
  "hex": "#217a22",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 120.674,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.14869,
    "h": 143.1
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#217A22
secondary
#AD4AAC
accent
#47DFE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #217A22

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

Preview Lab → · Contrast checker → · Palette generator →

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