#2E781C#2E781C

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

Color values

HEX#2E781C
RGBrgb(46, 120, 28)
HSLhsl(108, 62%, 29%)
HSVhsv(108, 77%, 47%)
CMYKcmyk(61.7%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.37, -40.62, 41.14)
CIE-LCHlch(44.37, 57.82, 134.64°)
OKLaboklab(50.7% -0.1114 0.0928)
OKLCHoklch(50.7% 0.145 140.2)
XYZxyz(8.0524, 14.0969, 3.3950)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E781C #661C78
analogous
#5C781C #2E781C #1C7838
triadic
#2E781C #1C2E78 #781C2E
tetradic
#2E781C #1C5C78 #661C78 #78381C
square
#2E781C #1C5C78 #661C78 #78381C
split-complementary
#2E781C #381C78 #781C5C
monochromatic
#0A1906 #1B4610 #2E781C #41AA28 #5AD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E781C#FFFFFF#000000##FFFFFF
##2E781C1.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)
#7B6D0A
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#247466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e781c;
/* rgb */ color: rgb(46, 120, 28);
/* oklch */ color: oklch(50.7% 0.145 140.2);
Tailwind
colors: {
  custom: {
    50: '#70a05f',
    500: '#2e781c',
    950: '#000000',
  },
}
SCSS
$custom: #2e781c;
$custom-light: #70a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e781c",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 108.261,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.14499,
    "h": 140.2
  },
  "luminance": 0.14098
}

Semantic roles & 50–950 ramp

primary
#2E781C
secondary
#9844AC
accent
#43E5C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E781C

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

Preview Lab → · Contrast checker → · Palette generator →

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