#2E873A#2E873A

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

Color values

HEX#2E873A
RGBrgb(46, 135, 58)
HSLhsl(128, 49%, 35%)
HSVhsv(128, 66%, 53%)
CMYKcmyk(65.9%, 0%, 57%, 47.1%)
CIE-LABlab(49.75, -43.10, 33.40)
CIE-LCHlch(49.75, 54.52, 142.23°)
OKLaboklab(55.24% -0.1165 0.0796)
OKLCHoklch(55.24% 0.141 145.7)
XYZxyz(10.5537, 18.2132, 6.9615)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E873A #872E7B
analogous
#4E872E #2E873A #2E8766
triadic
#2E873A #3A2E87 #873A2E
tetradic
#2E873A #2E4E87 #872E7B #87662E
square
#2E873A #2E4E87 #872E7B #87662E
split-complementary
#2E873A #662E87 #872E4E
monochromatic
#0F2C13 #1E5926 #2E873A #3EB54E #65CA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E873A#FFFFFF#000000##000000
##2E873A1.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)
#897B33
Deuteranopia (green-blind)
#7E7340
Tritanopia (blue-blind)
#168476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e873a;
/* rgb */ color: rgb(46, 135, 58);
/* oklch */ color: oklch(55.2% 0.141 145.7);
Tailwind
colors: {
  custom: {
    50: '#72ab72',
    500: '#2e873a',
    950: '#000000',
  },
}
SCSS
$custom: #2e873a;
$custom-light: #72ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#2e873a",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 128.09,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.14114,
    "h": 145.7
  },
  "luminance": 0.18214
}

Semantic roles & 50–950 ramp

primary
#2E873A
secondary
#B160A6
accent
#4FC6D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2E873A

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

Preview Lab → · Contrast checker → · Palette generator →

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