#2E851F#2E851F

#2E851F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.159 H 141.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2E851F
RGBrgb(46, 133, 31)
HSLhsl(111, 62%, 32%)
HSVhsv(111, 77%, 52%)
CMYKcmyk(65.4%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.83, -45.28, 44.46)
CIE-LCHlch(48.83, 63.46, 135.52°)
OKLaboklab(54.39% -0.1238 0.1002)
OKLCHoklch(54.39% 0.159 141)
XYZxyz(9.7611, 17.4539, 4.1506)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E851F #761F85
analogous
#61851F #2E851F #1F8543
triadic
#2E851F #1F2E85 #851F2E
tetradic
#2E851F #1F6185 #761F85 #85431F
square
#2E851F #1F6185 #761F85 #85431F
split-complementary
#2E851F #431F85 #851F61
monochromatic
#0C2208 #1D5313 #2E851F #3FB72B #5ED54A

Accessibility & contrast

On white

4.68
#2E851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2E851F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E851F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E851F#FFFFFF#000000##FFFFFF
##2E851F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780A
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#1F8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e851f;
/* rgb */ color: rgb(46, 133, 31);
/* oklch */ color: oklch(54.4% 0.159 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a962',
    500: '#2e851f',
    950: '#000000',
  },
}
SCSS
$custom: #2e851f;
$custom-light: #73a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2e851f",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 111.176,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.15924,
    "h": 141
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E851F

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

Preview Lab → · Contrast checker → · Palette generator →

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