#2E831B#2E831B

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

Color values

HEX#2E831B
RGBrgb(46, 131, 27)
HSLhsl(109, 66%, 31%)
HSVhsv(109, 79%, 51%)
CMYKcmyk(64.9%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.12, -44.84, 45.20)
CIE-LCHlch(48.12, 63.67, 134.77°)
OKLaboklab(53.8% -0.1228 0.1011)
OKLCHoklch(53.8% 0.159 140.5)
XYZxyz(9.4404, 16.8917, 3.7996)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E831B #701B83
analogous
#62831B #2E831B #1B833C
triadic
#2E831B #1B2E83 #831B2E
tetradic
#2E831B #1B6283 #701B83 #833C1B
square
#2E831B #1B6283 #701B83 #833C1B
split-complementary
#2E831B #3C1B83 #831B62
monochromatic
#0A1E06 #1C5011 #2E831B #40B625 #5CD841

Accessibility & contrast

On white

4.80
#2E831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E831B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E831B#FFFFFF#000000##FFFFFF
##2E831B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877602
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#217F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e831b;
/* rgb */ color: rgb(46, 131, 27);
/* oklch */ color: oklch(53.8% 0.159 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a860',
    500: '#2e831b',
    950: '#000000',
  },
}
SCSS
$custom: #2e831b;
$custom-light: #73a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2e831b",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 109.038,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.15911,
    "h": 140.5
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#2E831B
secondary
#A143B6
accent
#3FE9CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E831B

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

Preview Lab → · Contrast checker → · Palette generator →

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