#2E772A#2E772A

#2E772A is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.6% C 0.133 H 142.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2E772A
RGBrgb(46, 119, 42)
HSLhsl(117, 48%, 32%)
HSVhsv(117, 65%, 47%)
CMYKcmyk(61.3%, 0%, 64.7%, 53.3%)
CIE-LABlab(44.15, -38.86, 34.80)
CIE-LCHlch(44.15, 52.16, 138.15°)
OKLaboklab(50.56% -0.1058 0.0812)
OKLCHoklch(50.56% 0.133 142.5)
XYZxyz(8.1410, 13.9409, 4.4519)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E772A #732A77
analogous
#55772A #2E772A #2A774D
triadic
#2E772A #2A2E77 #772A2E
tetradic
#2E772A #2A5577 #732A77 #774D2A
square
#2E772A #2A5577 #732A77 #774D2A
split-complementary
#2E772A #4D2A77 #772A55
monochromatic
#0B1D0A #1D4A1A #2E772A #3FA43A #5DC458

Accessibility & contrast

On white

5.54
#2E772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2E772A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E772A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E772A#FFFFFF#000000##FFFFFF
##2E772A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C21
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#227367
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e772a;
/* rgb */ color: rgb(46, 119, 42);
/* oklch */ color: oklch(50.6% 0.133 142.5);
Tailwind
colors: {
  custom: {
    50: '#6f9f67',
    500: '#2e772a',
    950: '#000000',
  },
}
SCSS
$custom: #2e772a;
$custom-light: #6f9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e772a",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 116.883,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.13338,
    "h": 142.5
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#2E772A
secondary
#A454A9
accent
#50D7D0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E772A

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

Preview Lab → · Contrast checker → · Palette generator →

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