#2A772E#2A772E

#2A772E is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.132 H 144.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A772E
RGBrgb(42, 119, 46)
HSLhsl(123, 48%, 32%)
HSVhsv(123, 65%, 47%)
CMYKcmyk(64.7%, 0%, 61.3%, 53.3%)
CIE-LABlab(44.06, -39.37, 32.71)
CIE-LCHlch(44.06, 51.19, 140.28°)
OKLaboklab(50.46% -0.1067 0.0772)
OKLCHoklch(50.46% 0.132 144.1)
XYZxyz(8.0443, 13.8824, 4.8399)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A772E #772A73
analogous
#4D772A #2A772E #2A7755
triadic
#2A772E #2E2A77 #772E2A
tetradic
#2A772E #2A4D77 #772A73 #77552A
square
#2A772E #2A4D77 #772A73 #77552A
split-complementary
#2A772E #552A77 #772A4D
monochromatic
#0A1D0B #1A4A1D #2A772E #3AA43F #58C45D

Accessibility & contrast

On white

5.56
#2A772E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A772E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A772E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A772E#FFFFFF#000000##FFFFFF
##2A772E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a772e;
/* rgb */ color: rgb(42, 119, 46);
/* oklch */ color: oklch(50.5% 0.132 144.1);
Tailwind
colors: {
  custom: {
    50: '#6d9f69',
    500: '#2a772e',
    950: '#000000',
  },
}
SCSS
$custom: #2a772e;
$custom-light: #6d9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a772e",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 123.117,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.13171,
    "h": 144.1
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#2A772E
secondary
#A954A4
accent
#50D0D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A772E

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

Preview Lab → · Contrast checker → · Palette generator →

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