#2E871F#2E871F

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

Color values

HEX#2E871F
RGBrgb(46, 135, 31)
HSLhsl(111, 63%, 33%)
HSVhsv(111, 77%, 53%)
CMYKcmyk(65.9%, 0%, 77%, 47.1%)
CIE-LABlab(49.50, -46.01, 45.13)
CIE-LCHlch(49.50, 64.45, 135.55°)
OKLaboklab(54.95% -0.1258 0.1016)
OKLCHoklch(54.95% 0.162 141.1)
XYZxyz(10.0375, 18.0067, 4.2427)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E871F #781F87
analogous
#62871F #2E871F #1F8744
triadic
#2E871F #1F2E87 #871F2E
tetradic
#2E871F #1F6287 #781F87 #87441F
square
#2E871F #1F6287 #781F87 #87441F
split-complementary
#2E871F #441F87 #871F62
monochromatic
#0C2308 #1D5514 #2E871F #3FB92A #5FD64B

Accessibility & contrast

On white

4.56
#2E871F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E871F#FFFFFF#000000##000000
##2E871F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A09
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#1E8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e871f;
/* rgb */ color: rgb(46, 135, 31);
/* oklch */ color: oklch(55.0% 0.162 141.1);
Tailwind
colors: {
  custom: {
    50: '#73ab62',
    500: '#2e871f',
    950: '#000000',
  },
}
SCSS
$custom: #2e871f;
$custom-light: #73ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#2e871f",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 111.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.16166,
    "h": 141.1
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#2E871F
secondary
#A84AB8
accent
#42E6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2E871F

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

Preview Lab → · Contrast checker → · Palette generator →

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