#217722#217722

#217722 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.145 H 143.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#217722
RGBrgb(33, 119, 34)
HSLhsl(121, 57%, 30%)
HSVhsv(121, 72%, 47%)
CMYKcmyk(72.3%, 0%, 71.4%, 53.3%)
CIE-LABlab(43.70, -42.75, 37.87)
CIE-LCHlch(43.70, 57.11, 138.47°)
OKLaboklab(50.06% -0.116 0.0869)
OKLCHoklch(50.06% 0.145 143.2)
XYZxyz(7.5123, 13.6317, 3.7483)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217722 #772176
analogous
#4B7721 #217722 #21774D
triadic
#217722 #222177 #772221
tetradic
#217722 #214B77 #772176 #774D21
square
#217722 #214B77 #772176 #774D21
split-complementary
#217722 #4D2177 #77214B
monochromatic
#071807 #144714 #217722 #2EA730 #47CC48

Accessibility & contrast

On white

5.64
#217722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#217722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217722
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217722#FFFFFF#000000##FFFFFF
##2177221.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#077366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217722;
/* rgb */ color: rgb(33, 119, 34);
/* oklch */ color: oklch(50.1% 0.145 143.2);
Tailwind
colors: {
  custom: {
    50: '#6a9f62',
    500: '#217722',
    950: '#000000',
  },
}
SCSS
$custom: #217722;
$custom-light: #6a9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#217722",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 120.698,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.14494,
    "h": 143.2
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217722

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

Preview Lab → · Contrast checker → · Palette generator →

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