#2E8542#2E8542

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

Color values

HEX#2E8542
RGBrgb(46, 133, 66)
HSLhsl(134, 49%, 35%)
HSVhsv(134, 65%, 52%)
CMYKcmyk(65.4%, 0%, 50.4%, 47.8%)
CIE-LABlab(49.19, -41.10, 28.54)
CIE-LCHlch(49.19, 50.04, 145.22°)
OKLaboklab(54.81% -0.1109 0.0693)
OKLCHoklch(54.81% 0.131 148)
XYZxyz(10.4969, 17.7482, 8.0258)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8542 #852E71
analogous
#46852E #2E8542 #2E856D
triadic
#2E8542 #422E85 #85422E
tetradic
#2E8542 #2E4685 #852E71 #856D2E
square
#2E8542 #2E4685 #852E71 #856D2E
split-complementary
#2E8542 #6D2E85 #852E46
monochromatic
#0F2A15 #1E582B #2E8542 #3EB259 #64C97B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8542#FFFFFF#000000##FFFFFF
##2E85421.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)
#867A3C
Deuteranopia (green-blind)
#7B7247
Tritanopia (blue-blind)
#138275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e8542;
/* rgb */ color: rgb(46, 133, 66);
/* oklch */ color: oklch(54.8% 0.131 148.0);
Tailwind
colors: {
  custom: {
    50: '#71a978',
    500: '#2e8542',
    950: '#000000',
  },
}
SCSS
$custom: #2e8542;
$custom-light: #71a978;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8542",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 133.793,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.13084,
    "h": 148
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#2E8542
secondary
#B05F9D
accent
#50B9D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2E8542

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

Preview Lab → · Contrast checker → · Palette generator →

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