#22772D#22772D

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

Color values

HEX#22772D
RGBrgb(34, 119, 45)
HSLhsl(128, 56%, 30%)
HSVhsv(128, 71%, 47%)
CMYKcmyk(71.4%, 0%, 62.2%, 53.3%)
CIE-LABlab(43.83, -41.27, 32.88)
CIE-LCHlch(43.83, 52.77, 141.45°)
OKLaboklab(50.21% -0.1115 0.0775)
OKLCHoklch(50.21% 0.136 145.2)
XYZxyz(7.7297, 13.7224, 4.7234)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22772D #77226C
analogous
#417722 #22772D #227758
triadic
#22772D #2D2277 #772D22
tetradic
#22772D #224177 #77226C #775822
square
#22772D #224177 #77226C #775822
split-complementary
#22772D #582277 #772241
monochromatic
#071809 #14471B #22772D #30A73F #49CB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22772D#FFFFFF#000000##FFFFFF
##22772D1.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)
#796C25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#047467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22772d;
/* rgb */ color: rgb(34, 119, 45);
/* oklch */ color: oklch(50.2% 0.136 145.2);
Tailwind
colors: {
  custom: {
    50: '#6a9f69',
    500: '#22772d',
    950: '#000000',
  },
}
SCSS
$custom: #22772d;
$custom-light: #6a9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#22772d",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 127.765,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.13581,
    "h": 145.2
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

primary
#22772D
secondary
#AA4B9E
accent
#49CBDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22772D

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

Preview Lab → · Contrast checker → · Palette generator →

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