#2E781B#2E781B

#2E781B is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.146 H 140.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2E781B
RGBrgb(46, 120, 27)
HSLhsl(108, 63%, 29%)
HSVhsv(108, 78%, 47%)
CMYKcmyk(61.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.36, -40.70, 41.51)
CIE-LCHlch(44.36, 58.14, 134.43°)
OKLaboklab(50.69% -0.1117 0.0934)
OKLCHoklch(50.69% 0.146 140.1)
XYZxyz(8.0407, 14.0922, 3.3330)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E781B #651B78
analogous
#5D781B #2E781B #1B7837
triadic
#2E781B #1B2E78 #781B2E
tetradic
#2E781B #1B5D78 #651B78 #78371B
square
#2E781B #1B5D78 #651B78 #78371B
split-complementary
#2E781B #371B78 #781B5D
monochromatic
#0A1906 #1B4610 #2E781B #41AA26 #5AD33B

Accessibility & contrast

On white

5.50
#2E781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2E781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E781B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E781B#FFFFFF#000000##FFFFFF
##2E781B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D08
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#247466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e781b;
/* rgb */ color: rgb(46, 120, 27);
/* oklch */ color: oklch(50.7% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#70a05e',
    500: '#2e781b',
    950: '#000000',
  },
}
SCSS
$custom: #2e781b;
$custom-light: #70a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e781b",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 107.742,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.1456,
    "h": 140.1
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#2E781B
secondary
#9743AC
accent
#41E6C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E781B

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

Preview Lab → · Contrast checker → · Palette generator →

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