#2E881F#2E881F

#2E881F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.163 H 141.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2E881F
RGBrgb(46, 136, 31)
HSLhsl(111, 63%, 33%)
HSVhsv(111, 77%, 53%)
CMYKcmyk(66.2%, 0%, 77.2%, 46.7%)
CIE-LABlab(49.84, -46.37, 45.47)
CIE-LCHlch(49.84, 64.94, 135.56°)
OKLaboklab(55.23% -0.1267 0.1023)
OKLCHoklch(55.23% 0.163 141.1)
XYZxyz(10.1777, 18.2871, 4.2895)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E881F #791F88
analogous
#62881F #2E881F #1F8845
triadic
#2E881F #1F2E88 #881F2E
tetradic
#2E881F #1F6288 #791F88 #88451F
square
#2E881F #1F6288 #791F88 #88451F
split-complementary
#2E881F #451F88 #881F62
monochromatic
#0C2408 #1D5614 #2E881F #3FBA2A #5FD64B

Accessibility & contrast

On white

4.51
#2E881F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2E881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E881F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E881F#FFFFFF#000000##000000
##2E881F1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#1E8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e881f;
/* rgb */ color: rgb(46, 136, 31);
/* oklch */ color: oklch(55.2% 0.163 141.1);
Tailwind
colors: {
  custom: {
    50: '#74ac63',
    500: '#2e881f',
    950: '#000000',
  },
}
SCSS
$custom: #2e881f;
$custom-light: #74ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e881f",
  "rgb": {
    "r": 46,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 111.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55233,
    "c": 0.16286,
    "h": 141.1
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#2E881F
secondary
#A94AB9
accent
#42E6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E881F

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

Preview Lab → · Contrast checker → · Palette generator →

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