#2E873B#2E873B

#2E873B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.140 H 145.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2E873B
RGBrgb(46, 135, 59)
HSLhsl(129, 49%, 35%)
HSVhsv(129, 66%, 53%)
CMYKcmyk(65.9%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.77, -42.96, 32.90)
CIE-LCHlch(49.77, 54.11, 142.55°)
OKLaboklab(55.25% -0.1161 0.0786)
OKLCHoklch(55.25% 0.14 145.9)
XYZxyz(10.5794, 18.2235, 7.0968)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E873B #872E7A
analogous
#4D872E #2E873B #2E8767
triadic
#2E873B #3B2E87 #873B2E
tetradic
#2E873B #2E4D87 #872E7A #87672E
square
#2E873B #2E4D87 #872E7A #87672E
split-complementary
#2E873B #672E87 #872E4D
monochromatic
#0F2C13 #1E5927 #2E873B #3EB54F #65CA74

Accessibility & contrast

On white

4.52
#2E873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2E873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E873B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E873B#FFFFFF#000000##000000
##2E873B1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7E7341
Tritanopia (blue-blind)
#168476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e873b;
/* rgb */ color: rgb(46, 135, 59);
/* oklch */ color: oklch(55.3% 0.140 145.9);
Tailwind
colors: {
  custom: {
    50: '#72ab73',
    500: '#2e873b',
    950: '#000000',
  },
}
SCSS
$custom: #2e873b;
$custom-light: #72ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e873b",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 128.764,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.14024,
    "h": 145.9
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#2E873B
secondary
#B160A5
accent
#4FC5D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2E873B

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

Preview Lab → · Contrast checker → · Palette generator →

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