#22772F#22772F

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

Color values

HEX#22772F
RGBrgb(34, 119, 47)
HSLhsl(129, 56%, 30%)
HSVhsv(129, 71%, 47%)
CMYKcmyk(71.4%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.85, -41.00, 31.91)
CIE-LCHlch(43.85, 51.95, 142.11°)
OKLaboklab(50.23% -0.1107 0.0756)
OKLCHoklch(50.23% 0.134 145.7)
XYZxyz(7.7691, 13.7381, 4.9311)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22772F #77226A
analogous
#407722 #22772F #227759
triadic
#22772F #2F2277 #772F22
tetradic
#22772F #224077 #77226A #775922
square
#22772F #224077 #77226A #775922
split-complementary
#22772F #592277 #772240
monochromatic
#071809 #14471C #22772F #30A742 #49CB5C

Accessibility & contrast

On white

5.60
#22772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#22772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22772F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22772F#FFFFFF#000000##FFFFFF
##22772F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#037467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22772f;
/* rgb */ color: rgb(34, 119, 47);
/* oklch */ color: oklch(50.2% 0.134 145.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f6a',
    500: '#22772f',
    950: '#000000',
  },
}
SCSS
$custom: #22772f;
$custom-light: #6a9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#22772f",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 129.176,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.13405,
    "h": 145.7
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#22772F
secondary
#AA4B9B
accent
#49C8DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22772F

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

Preview Lab → · Contrast checker → · Palette generator →

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