#2E874A#2E874A

#2E874A is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.126 H 150.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2E874A
RGBrgb(46, 135, 74)
HSLhsl(139, 49%, 35%)
HSVhsv(139, 66%, 53%)
CMYKcmyk(65.9%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.98, -40.54, 25.22)
CIE-LCHlch(49.98, 47.75, 148.12°)
OKLaboklab(55.5% -0.1094 0.0621)
OKLCHoklch(55.5% 0.126 150.4)
XYZxyz(11.0259, 18.4021, 9.4481)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E874A #872E6B
analogous
#3F872E #2E874A #2E8776
triadic
#2E874A #4A2E87 #874A2E
tetradic
#2E874A #2E3F87 #872E6B #87762E
square
#2E874A #2E3F87 #872E6B #87762E
split-complementary
#2E874A #762E87 #872E3F
monochromatic
#0F2C18 #1E5931 #2E874A #3EB563 #65CA85

Accessibility & contrast

On white

4.49
#2E874A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2E874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E874A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E874A#FFFFFF#000000##000000
##2E874A1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C45
Deuteranopia (green-blind)
#7C744E
Tritanopia (blue-blind)
#0B8578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e874a;
/* rgb */ color: rgb(46, 135, 74);
/* oklch */ color: oklch(55.5% 0.126 150.4);
Tailwind
colors: {
  custom: {
    50: '#71ab7d',
    500: '#2e874a',
    950: '#000000',
  },
}
SCSS
$custom: #2e874a;
$custom-light: #71ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e874a",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 138.876,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.555,
    "c": 0.12582,
    "h": 150.4
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#2E874A
secondary
#B16098
accent
#4FADD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2E874A

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

Preview Lab → · Contrast checker → · Palette generator →

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