#2E8342#2E8342

#2E8342 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.128 H 148.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2E8342
RGBrgb(46, 131, 66)
HSLhsl(134, 48%, 35%)
HSVhsv(134, 65%, 51%)
CMYKcmyk(64.9%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.52, -40.29, 27.70)
CIE-LCHlch(48.52, 48.89, 145.49°)
OKLaboklab(54.26% -0.1088 0.0674)
OKLCHoklch(54.26% 0.128 148.2)
XYZxyz(10.2257, 17.2058, 7.9354)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8342 #832E6F
analogous
#44832E #2E8342 #2E836D
triadic
#2E8342 #422E83 #83422E
tetradic
#2E8342 #2E4483 #832E6F #836D2E
square
#2E8342 #2E4483 #832E6F #836D2E
split-complementary
#2E8342 #6D2E83 #832E44
monochromatic
#0E2814 #1E562B #2E8342 #3EB059 #63C87B

Accessibility & contrast

On white

4.73
#2E8342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2E8342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8342
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8342#FFFFFF#000000##FFFFFF
##2E83421.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783D
Deuteranopia (green-blind)
#7A7047
Tritanopia (blue-blind)
#148074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8342;
/* rgb */ color: rgb(46, 131, 66);
/* oklch */ color: oklch(54.3% 0.128 148.2);
Tailwind
colors: {
  custom: {
    50: '#71a877',
    500: '#2e8342',
    950: '#000000',
  },
}
SCSS
$custom: #2e8342;
$custom-light: #71a877;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8342",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 134.118,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.12799,
    "h": 148.2
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#2E8342
secondary
#AF5E9C
accent
#50B8D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2E8342

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

Preview Lab → · Contrast checker → · Palette generator →

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