#22771E#22771E

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

Color values

HEX#22771E
RGBrgb(34, 119, 30)
HSLhsl(117, 60%, 29%)
HSVhsv(117, 75%, 47%)
CMYKcmyk(71.4%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.69, -42.93, 39.55)
CIE-LCHlch(43.69, 58.37, 137.35°)
OKLaboklab(50.04% -0.1168 0.0899)
OKLCHoklch(50.04% 0.147 142.4)
XYZxyz(7.4904, 13.6267, 3.4635)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22771E #731E77
analogous
#4F771E #22771E #1E7747
triadic
#22771E #1E2277 #771E22
tetradic
#22771E #1E4F77 #731E77 #77471E
square
#22771E #1E4F77 #731E77 #77471E
split-complementary
#22771E #471E77 #771E4F
monochromatic
#071806 #144612 #22771E #30A82A #47CF40

Accessibility & contrast

On white

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

On black

3.73
#22771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22771E#FFFFFF#000000##FFFFFF
##22771E1.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)
#7A6B0F
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#0C7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #22771e;
/* rgb */ color: rgb(34, 119, 30);
/* oklch */ color: oklch(50.0% 0.147 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9f60',
    500: '#22771e',
    950: '#000000',
  },
}
SCSS
$custom: #22771e;
$custom-light: #6b9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#22771e",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 117.303,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.14734,
    "h": 142.4
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#22771E
secondary
#A646AB
accent
#45E3DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #22771E

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

Preview Lab → · Contrast checker → · Palette generator →

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