#217822#217822

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

Color values

HEX#217822
RGBrgb(33, 120, 34)
HSLhsl(121, 57%, 30%)
HSVhsv(121, 73%, 47%)
CMYKcmyk(72.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.05, -43.12, 38.24)
CIE-LCHlch(44.05, 57.63, 138.43°)
OKLaboklab(50.34% -0.117 0.0877)
OKLCHoklch(50.34% 0.146 143.2)
XYZxyz(7.6319, 13.8709, 3.7882)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217822 #782177
analogous
#4B7821 #217822 #21784E
triadic
#217822 #222178 #782221
tetradic
#217822 #214B78 #782177 #784E21
square
#217822 #214B78 #782177 #784E21
split-complementary
#217822 #4E2178 #78214B
monochromatic
#071807 #144814 #217822 #2EA830 #47CC49

Accessibility & contrast

On white

5.56
#217822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#217822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217822
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217822#FFFFFF#000000##FFFFFF
##2178221.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C15
Deuteranopia (green-blind)
#71652A
Tritanopia (blue-blind)
#067467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217822;
/* rgb */ color: rgb(33, 120, 34);
/* oklch */ color: oklch(50.3% 0.146 143.2);
Tailwind
colors: {
  custom: {
    50: '#6aa062',
    500: '#217822',
    950: '#000000',
  },
}
SCSS
$custom: #217822;
$custom-light: #6aa062;
$custom-dark: #000000;
JSON
{
  "hex": "#217822",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 120.69,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.1462,
    "h": 143.2
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#217822
secondary
#AB4AAA
accent
#48DEE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #217822

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

Preview Lab → · Contrast checker → · Palette generator →

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