#217022#217022

#217022 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.136 H 143.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#217022
RGBrgb(33, 112, 34)
HSLhsl(121, 54%, 28%)
HSVhsv(121, 71%, 44%)
CMYKcmyk(70.5%, 0%, 69.6%, 56.1%)
CIE-LABlab(41.26, -40.16, 35.25)
CIE-LCHlch(41.26, 53.43, 138.73°)
OKLaboklab(48.03% -0.109 0.0814)
OKLCHoklch(48.03% 0.136 143.3)
XYZxyz(6.7097, 12.0265, 3.4808)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217022 #70216F
analogous
#477021 #217022 #217049
triadic
#217022 #222170 #702221
tetradic
#217022 #214770 #70216F #704921
square
#217022 #214770 #70216F #704921
split-complementary
#217022 #492170 #702147
monochromatic
#071807 #134114 #217022 #2F9F30 #44C845

Accessibility & contrast

On white

6.17
#217022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#217022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217022
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217022#FFFFFF#000000##FFFFFF
##2170221.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#0C6D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #217022;
/* rgb */ color: rgb(33, 112, 34);
/* oklch */ color: oklch(48.0% 0.136 143.3);
Tailwind
colors: {
  custom: {
    50: '#689a61',
    500: '#217022',
    950: '#000000',
  },
}
SCSS
$custom: #217022;
$custom-light: #689a61;
$custom-dark: #000000;
JSON
{
  "hex": "#217022",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 120.759,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.136,
    "h": 143.3
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#217022
secondary
#A449A2
accent
#4ADCDE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217022

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

Preview Lab → · Contrast checker → · Palette generator →

#217022 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva