#2E871C#2E871C

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

Color values

HEX#2E871C
RGBrgb(46, 135, 28)
HSLhsl(110, 66%, 32%)
HSVhsv(110, 79%, 53%)
CMYKcmyk(65.9%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.49, -46.23, 46.18)
CIE-LCHlch(49.49, 65.34, 135.03°)
OKLaboklab(54.93% -0.1265 0.1033)
OKLCHoklch(54.93% 0.163 140.8)
XYZxyz(9.9998, 17.9916, 4.0441)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E871C #751C87
analogous
#63871C #2E871C #1C8740
triadic
#2E871C #1C2E87 #871C2E
tetradic
#2E871C #1C6387 #751C87 #87401C
square
#2E871C #1C6387 #751C87 #87401C
split-complementary
#2E871C #401C87 #871C63
monochromatic
#0B2207 #1D5411 #2E871C #3FBA27 #5ED845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E871C#FFFFFF#000000##000000
##2E871C1.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)
#8B7A01
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#1F8273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e871c;
/* rgb */ color: rgb(46, 135, 28);
/* oklch */ color: oklch(54.9% 0.163 140.8);
Tailwind
colors: {
  custom: {
    50: '#73ab61',
    500: '#2e871c',
    950: '#000000',
  },
}
SCSS
$custom: #2e871c;
$custom-light: #73ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e871c",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 109.907,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.16334,
    "h": 140.8
  },
  "luminance": 0.17993
}

Semantic roles & 50–950 ramp

primary
#2E871C
secondary
#A645BA
accent
#3FE9CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2E871C

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

Preview Lab → · Contrast checker → · Palette generator →

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