#2E871A#2E871A

#2E871A is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.164 H 140.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2E871A
RGBrgb(46, 135, 26)
HSLhsl(109, 68%, 32%)
HSVhsv(109, 81%, 53%)
CMYKcmyk(65.9%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.47, -46.36, 46.83)
CIE-LCHlch(49.47, 65.90, 134.71°)
OKLaboklab(54.92% -0.127 0.1044)
OKLCHoklch(54.92% 0.164 140.6)
XYZxyz(9.9767, 17.9824, 3.9223)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E871A #731A87
analogous
#65871A #2E871A #1A873D
triadic
#2E871A #1A2E87 #871A2E
tetradic
#2E871A #1A6587 #731A87 #873D1A
square
#2E871A #1A6587 #731A87 #873D1A
split-complementary
#2E871A #3D1A87 #871A65
monochromatic
#0B2006 #1D5410 #2E871A #3FBA24 #5DDA41

Accessibility & contrast

On white

4.57
#2E871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2E871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E871A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E871A#FFFFFF#000000##000000
##2E871A1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#1F8273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e871a;
/* rgb */ color: rgb(46, 135, 26);
/* oklch */ color: oklch(54.9% 0.164 140.6);
Tailwind
colors: {
  custom: {
    50: '#74ab60',
    500: '#2e871a',
    950: '#000000',
  },
}
SCSS
$custom: #2e871a;
$custom-light: #74ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e871a",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 108.991,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.16438,
    "h": 140.6
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#2E871A
secondary
#A442BA
accent
#3DEBCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E871A

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

Preview Lab → · Contrast checker → · Palette generator →

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