#2E8540#2E8540

#2E8540 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.133 H 147.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2E8540
RGBrgb(46, 133, 64)
HSLhsl(132, 49%, 35%)
HSVhsv(132, 65%, 52%)
CMYKcmyk(65.4%, 0%, 51.9%, 47.8%)
CIE-LABlab(49.16, -41.42, 29.57)
CIE-LCHlch(49.16, 50.89, 144.48°)
OKLaboklab(54.78% -0.1118 0.0715)
OKLCHoklch(54.78% 0.133 147.4)
XYZxyz(10.4389, 17.7250, 7.7206)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8540 #852E73
analogous
#47852E #2E8540 #2E856C
triadic
#2E8540 #402E85 #85402E
tetradic
#2E8540 #2E4785 #852E73 #856C2E
square
#2E8540 #2E4785 #852E73 #856C2E
split-complementary
#2E8540 #6C2E85 #852E47
monochromatic
#0F2A14 #1E582A #2E8540 #3EB256 #64C979

Accessibility & contrast

On white

4.62
#2E8540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2E8540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8540
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8540#FFFFFF#000000##FFFFFF
##2E85401.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87793A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#148275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e8540;
/* rgb */ color: rgb(46, 133, 64);
/* oklch */ color: oklch(54.8% 0.133 147.4);
Tailwind
colors: {
  custom: {
    50: '#71a976',
    500: '#2e8540',
    950: '#000000',
  },
}
SCSS
$custom: #2e8540;
$custom-light: #71a976;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8540",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 132.414,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.13276,
    "h": 147.4
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#2E8540
secondary
#B05F9F
accent
#50BCD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2E8540

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

Preview Lab → · Contrast checker → · Palette generator →

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