#2E831F#2E831F

#2E831F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.157 H 141.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E831F
RGBrgb(46, 131, 31)
HSLhsl(111, 62%, 32%)
HSVhsv(111, 76%, 51%)
CMYKcmyk(64.9%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.15, -44.54, 43.78)
CIE-LCHlch(48.15, 62.46, 135.49°)
OKLaboklab(53.83% -0.1218 0.0987)
OKLCHoklch(53.83% 0.157 141)
XYZxyz(9.4899, 16.9115, 4.0602)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E831F #741F83
analogous
#60831F #2E831F #1F8342
triadic
#2E831F #1F2E83 #831F2E
tetradic
#2E831F #1F6083 #741F83 #83421F
square
#2E831F #1F6083 #741F83 #83421F
split-complementary
#2E831F #421F83 #831F60
monochromatic
#0B2008 #1D5213 #2E831F #3FB42B #5DD449

Accessibility & contrast

On white

4.79
#2E831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2E831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E831F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E831F#FFFFFF#000000##FFFFFF
##2E831F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#207F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e831f;
/* rgb */ color: rgb(46, 131, 31);
/* oklch */ color: oklch(53.8% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a862',
    500: '#2e831f',
    950: '#000000',
  },
}
SCSS
$custom: #2e831f;
$custom-light: #72a862;
$custom-dark: #000000;
JSON
{
  "hex": "#2e831f",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 111,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.15681,
    "h": 141
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#2E831F
secondary
#A548B6
accent
#43E5CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2E831F

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

Preview Lab → · Contrast checker → · Palette generator →

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