#22771D#22771D

#22771D is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.148 H 142.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#22771D
RGBrgb(34, 119, 29)
HSLhsl(117, 61%, 29%)
HSVhsv(117, 76%, 47%)
CMYKcmyk(71.4%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.69, -43.02, 39.94)
CIE-LCHlch(43.69, 58.70, 137.12°)
OKLaboklab(50.04% -0.1171 0.0905)
OKLCHoklch(50.04% 0.148 142.3)
XYZxyz(7.4779, 13.6216, 3.3973)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22771D #721D77
analogous
#4F771D #22771D #1D7745
triadic
#22771D #1D2277 #771D22
tetradic
#22771D #1D4F77 #721D77 #77451D
square
#22771D #1D4F77 #721D77 #77451D
split-complementary
#22771D #451D77 #771D4F
monochromatic
#071906 #144611 #22771D #30A829 #46D03E

Accessibility & contrast

On white

5.64
#22771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#22771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22771D#FFFFFF#000000##FFFFFF
##22771D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0D
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#0C7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #22771d;
/* rgb */ color: rgb(34, 119, 29);
/* oklch */ color: oklch(50.0% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#6b9f5f',
    500: '#22771d',
    950: '#000000',
  },
}
SCSS
$custom: #22771d;
$custom-light: #6b9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22771d",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 116.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.148,
    "h": 142.3
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#22771D
secondary
#A545AB
accent
#44E4DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #22771D

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

Preview Lab → · Contrast checker → · Palette generator →

#22771D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva