#2E772B#2E772B

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

Color values

HEX#2E772B
RGBrgb(46, 119, 43)
HSLhsl(118, 47%, 32%)
HSVhsv(118, 64%, 47%)
CMYKcmyk(61.3%, 0%, 63.9%, 53.3%)
CIE-LABlab(44.16, -38.74, 34.33)
CIE-LCHlch(44.16, 51.76, 138.45°)
OKLaboklab(50.57% -0.1054 0.0803)
OKLCHoklch(50.57% 0.133 142.7)
XYZxyz(8.1591, 13.9482, 4.5473)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E772B #742B77
analogous
#54772B #2E772B #2B774E
triadic
#2E772B #2B2E77 #772B2E
tetradic
#2E772B #2B5477 #742B77 #774E2B
square
#2E772B #2B5477 #742B77 #774E2B
split-complementary
#2E772B #4E2B77 #772B54
monochromatic
#0B1D0B #1D4A1B #2E772B #3FA43B #5DC359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E772B#FFFFFF#000000##FFFFFF
##2E772B1.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)
#7A6C23
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#227467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e772b;
/* rgb */ color: rgb(46, 119, 43);
/* oklch */ color: oklch(50.6% 0.133 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9f67',
    500: '#2e772b',
    950: '#000000',
  },
}
SCSS
$custom: #2e772b;
$custom-light: #6f9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e772b",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 117.632,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.13254,
    "h": 142.7
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#2E772B
secondary
#A555A9
accent
#51D7D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E772B

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

Preview Lab → · Contrast checker → · Palette generator →

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