#2E841B#2E841B

#2E841B is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.160 H 140.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2E841B
RGBrgb(46, 132, 27)
HSLhsl(109, 66%, 31%)
HSVhsv(109, 80%, 52%)
CMYKcmyk(65.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.46, -45.21, 45.53)
CIE-LCHlch(48.46, 64.16, 134.80°)
OKLaboklab(54.08% -0.1238 0.1018)
OKLCHoklch(54.08% 0.16 140.6)
XYZxyz(9.5753, 17.1616, 3.8446)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E841B #711B84
analogous
#62841B #2E841B #1B843C
triadic
#2E841B #1B2E84 #841B2E
tetradic
#2E841B #1B6284 #711B84 #843C1B
square
#2E841B #1B6284 #711B84 #843C1B
split-complementary
#2E841B #3C1B84 #841B62
monochromatic
#0B1E06 #1C5111 #2E841B #40B725 #5DD841

Accessibility & contrast

On white

4.74
#2E841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2E841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E841B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E841B#FFFFFF#000000##FFFFFF
##2E841B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#208070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e841b;
/* rgb */ color: rgb(46, 132, 27);
/* oklch */ color: oklch(54.1% 0.160 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a960',
    500: '#2e841b',
    950: '#000000',
  },
}
SCSS
$custom: #2e841b;
$custom-light: #73a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2e841b",
  "rgb": {
    "r": 46,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 109.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.1603,
    "h": 140.6
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E841B

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

Preview Lab → · Contrast checker → · Palette generator →

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