#217222#217222

#217222 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.139 H 143.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#217222
RGBrgb(33, 114, 34)
HSLhsl(121, 55%, 29%)
HSVhsv(121, 71%, 45%)
CMYKcmyk(71.1%, 0%, 70.2%, 55.3%)
CIE-LABlab(41.96, -40.91, 36.00)
CIE-LCHlch(41.96, 54.49, 138.65°)
OKLaboklab(48.61% -0.111 0.083)
OKLCHoklch(48.61% 0.139 143.2)
XYZxyz(6.9328, 12.4727, 3.5552)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217222 #722171
analogous
#497221 #217222 #21724B
triadic
#217222 #222172 #722221
tetradic
#217222 #214972 #722171 #724B21
square
#217222 #214972 #722171 #724B21
split-complementary
#217222 #4B2172 #722149
monochromatic
#071807 #134314 #217222 #2FA130 #44C946

Accessibility & contrast

On white

6.01
#217222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#217222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217222
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217222#FFFFFF#000000##FFFFFF
##2172221.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6B6029
Tritanopia (blue-blind)
#0B6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217222;
/* rgb */ color: rgb(33, 114, 34);
/* oklch */ color: oklch(48.6% 0.139 143.2);
Tailwind
colors: {
  custom: {
    50: '#699b61',
    500: '#217222',
    950: '#000000',
  },
}
SCSS
$custom: #217222;
$custom-light: #699b61;
$custom-dark: #000000;
JSON
{
  "hex": "#217222",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 120.741,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.13859,
    "h": 143.2
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#217222
secondary
#A549A4
accent
#49DDDE
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217222

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

Preview Lab → · Contrast checker → · Palette generator →

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