#2E781F#2E781F

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

Color values

HEX#2E781F
RGBrgb(46, 120, 31)
HSLhsl(110, 59%, 30%)
HSVhsv(110, 74%, 47%)
CMYKcmyk(61.7%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.39, -40.37, 39.97)
CIE-LCHlch(44.39, 56.81, 135.29°)
OKLaboklab(50.73% -0.1105 0.0908)
OKLCHoklch(50.73% 0.143 140.6)
XYZxyz(8.0901, 14.1120, 3.5936)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E781F #691F78
analogous
#5A781F #2E781F #1F783D
triadic
#2E781F #1F2E78 #781F2E
tetradic
#2E781F #1F5A78 #691F78 #783D1F
square
#2E781F #1F5A78 #691F78 #783D1F
split-complementary
#2E781F #3D1F78 #781F5A
monochromatic
#091806 #1B4712 #2E781F #41A92C #5ACE43

Accessibility & contrast

On white

5.49
#2E781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E781F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E781F#FFFFFF#000000##FFFFFF
##2E781F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e781f;
/* rgb */ color: rgb(46, 120, 31);
/* oklch */ color: oklch(50.7% 0.143 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a060',
    500: '#2e781f',
    950: '#000000',
  },
}
SCSS
$custom: #2e781f;
$custom-light: #70a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2e781f",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 109.888,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.14305,
    "h": 140.6
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#2E781F
secondary
#9B47AB
accent
#46E2C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E781F

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

Preview Lab → · Contrast checker → · Palette generator →

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