#2E851B#2E851B

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

Color values

HEX#2E851B
RGBrgb(46, 133, 27)
HSLhsl(109, 66%, 31%)
HSVhsv(109, 80%, 52%)
CMYKcmyk(65.4%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.80, -45.57, 45.86)
CIE-LCHlch(48.80, 64.65, 134.82°)
OKLaboklab(54.36% -0.1248 0.1025)
OKLCHoklch(54.36% 0.162 140.6)
XYZxyz(9.7116, 17.4341, 3.8900)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E851B #721B85
analogous
#63851B #2E851B #1B853D
triadic
#2E851B #1B2E85 #851B2E
tetradic
#2E851B #1B6385 #721B85 #853D1B
square
#2E851B #1B6385 #721B85 #853D1B
split-complementary
#2E851B #3D1B85 #851B63
monochromatic
#0B1F06 #1C5211 #2E851B #40B825 #5DD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E851B#FFFFFF#000000##FFFFFF
##2E851B1.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)
#897800
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#208171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e851b;
/* rgb */ color: rgb(46, 133, 27);
/* oklch */ color: oklch(54.4% 0.162 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a960',
    500: '#2e851b',
    950: '#000000',
  },
}
SCSS
$custom: #2e851b;
$custom-light: #73a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2e851b",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 109.245,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.1615,
    "h": 140.6
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#2E851B
secondary
#A344B8
accent
#3FE9CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E851B

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

Preview Lab → · Contrast checker → · Palette generator →

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