#22772A#22772A

#22772A is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.138 H 144.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#22772A
RGBrgb(34, 119, 42)
HSLhsl(126, 56%, 30%)
HSVhsv(126, 71%, 47%)
CMYKcmyk(71.4%, 0%, 64.7%, 53.3%)
CIE-LABlab(43.80, -41.65, 34.32)
CIE-LCHlch(43.80, 53.97, 140.52°)
OKLaboklab(50.17% -0.1127 0.0803)
OKLCHoklch(50.17% 0.138 144.5)
XYZxyz(7.6739, 13.7001, 4.4300)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22772A #77226F
analogous
#457722 #22772A #227754
triadic
#22772A #2A2277 #772A22
tetradic
#22772A #224577 #77226F #775422
square
#22772A #224577 #77226F #775422
split-complementary
#22772A #542277 #772245
monochromatic
#071808 #144719 #22772A #30A73B #49CB55

Accessibility & contrast

On white

5.61
#22772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#22772A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22772A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22772A#FFFFFF#000000##FFFFFF
##22772A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C21
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#067467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #22772a;
/* rgb */ color: rgb(34, 119, 42);
/* oklch */ color: oklch(50.2% 0.138 144.5);
Tailwind
colors: {
  custom: {
    50: '#6a9f67',
    500: '#22772a',
    950: '#000000',
  },
}
SCSS
$custom: #22772a;
$custom-light: #6a9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#22772a",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 125.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.13836,
    "h": 144.5
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#22772A
secondary
#AA4BA1
accent
#49D1DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22772A

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

Preview Lab → · Contrast checker → · Palette generator →

#22772A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva