#2E8545#2E8545

#2E8545 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.128 H 149.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2E8545
RGBrgb(46, 133, 69)
HSLhsl(136, 49%, 35%)
HSVhsv(136, 65%, 52%)
CMYKcmyk(65.4%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.23, -40.60, 26.98)
CIE-LCHlch(49.23, 48.75, 146.39°)
OKLaboklab(54.86% -0.1096 0.066)
OKLCHoklch(54.86% 0.128 149)
XYZxyz(10.5876, 17.7845, 8.5039)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8545 #852E6E
analogous
#43852E #2E8545 #2E8570
triadic
#2E8545 #452E85 #85452E
tetradic
#2E8545 #2E4385 #852E6E #85702E
square
#2E8545 #2E4385 #852E6E #85702E
split-complementary
#2E8545 #702E85 #852E43
monochromatic
#0F2A16 #1E582D #2E8545 #3EB25D #64C97F

Accessibility & contrast

On white

4.61
#2E8545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2E8545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8545
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8545#FFFFFF#000000##FFFFFF
##2E85451.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#118276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e8545;
/* rgb */ color: rgb(46, 133, 69);
/* oklch */ color: oklch(54.9% 0.128 149.0);
Tailwind
colors: {
  custom: {
    50: '#71a97a',
    500: '#2e8545',
    950: '#000000',
  },
}
SCSS
$custom: #2e8545;
$custom-light: #71a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8545",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 135.862,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.1279,
    "h": 149
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#2E8545
secondary
#B05F9B
accent
#50B4D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2E8545

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

Preview Lab → · Contrast checker → · Palette generator →

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