#2A772B#2A772B

#2A772B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.134 H 143.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2A772B
RGBrgb(42, 119, 43)
HSLhsl(121, 48%, 32%)
HSVhsv(121, 65%, 47%)
CMYKcmyk(64.7%, 0%, 63.9%, 53.3%)
CIE-LABlab(44.03, -39.75, 34.15)
CIE-LCHlch(44.03, 52.40, 139.33°)
OKLaboklab(50.43% -0.1079 0.08)
OKLCHoklch(50.43% 0.134 143.5)
XYZxyz(7.9873, 13.8595, 4.5393)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A772B #772A76
analogous
#50772A #2A772B #2A7752
triadic
#2A772B #2B2A77 #772B2A
tetradic
#2A772B #2A5077 #772A76 #77522A
square
#2A772B #2A5077 #772A76 #77522A
split-complementary
#2A772B #522A77 #772A50
monochromatic
#0A1D0A #1A4A1B #2A772B #3AA43B #58C459

Accessibility & contrast

On white

5.57
#2A772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A772B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A772B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A772B#FFFFFF#000000##FFFFFF
##2A772B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C23
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#1A7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a772b;
/* rgb */ color: rgb(42, 119, 43);
/* oklch */ color: oklch(50.4% 0.134 143.5);
Tailwind
colors: {
  custom: {
    50: '#6d9f67',
    500: '#2a772b',
    950: '#000000',
  },
}
SCSS
$custom: #2a772b;
$custom-light: #6d9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a772b",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 120.779,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.13432,
    "h": 143.5
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#2A772B
secondary
#A954A8
accent
#50D6D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A772B

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

Preview Lab → · Contrast checker → · Palette generator →

#2A772B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva