#22772B#22772B

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

Color values

HEX#22772B
RGBrgb(34, 119, 43)
HSLhsl(126, 56%, 30%)
HSVhsv(126, 71%, 47%)
CMYKcmyk(71.4%, 0%, 63.9%, 53.3%)
CIE-LABlab(43.81, -41.53, 33.84)
CIE-LCHlch(43.81, 53.57, 140.82°)
OKLaboklab(50.18% -0.1123 0.0794)
OKLCHoklch(50.18% 0.138 144.8)
XYZxyz(7.6921, 13.7073, 4.5254)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22772B #77226E
analogous
#437722 #22772B #227756
triadic
#22772B #2B2277 #772B22
tetradic
#22772B #224377 #77226E #775622
square
#22772B #224377 #77226E #775622
split-complementary
#22772B #562277 #772243
monochromatic
#071809 #14471A #22772B #30A73C #49CB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22772B#FFFFFF#000000##FFFFFF
##22772B1.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)
#796C23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#057467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22772b;
/* rgb */ color: rgb(34, 119, 43);
/* oklch */ color: oklch(50.2% 0.138 144.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f67',
    500: '#22772b',
    950: '#000000',
  },
}
SCSS
$custom: #22772b;
$custom-light: #6a9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#22772b",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 126.353,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.13752,
    "h": 144.8
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#22772B
secondary
#AA4BA0
accent
#49CFDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22772B

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

Preview Lab → · Contrast checker → · Palette generator →

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