#2E8E40#2E8E40

#2E8E40 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.145 H 146.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E8E40
RGBrgb(46, 142, 64)
HSLhsl(131, 51%, 37%)
HSVhsv(131, 68%, 56%)
CMYKcmyk(67.6%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.17, -44.94, 33.25)
CIE-LCHlch(52.17, 55.90, 143.50°)
OKLaboklab(57.26% -0.1213 0.0797)
OKLCHoklch(57.26% 0.145 146.7)
XYZxyz(11.7243, 20.2958, 8.1491)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8E40 #8E2E7C
analogous
#4C8E2E #2E8E40 #2E8E70
triadic
#2E8E40 #402E8E #8E402E
tetradic
#2E8E40 #2E4C8E #8E2E7C #8E702E
square
#2E8E40 #2E4C8E #8E2E7C #8E702E
split-complementary
#2E8E40 #702E8E #8E2E4C
monochromatic
#103216 #1F602B #2E8E40 #3DBC55 #68CE7B

Accessibility & contrast

On white

4.15
#2E8E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2E8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8E40
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8E40#FFFFFF#000000##000000
##2E8E401.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#0E8B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8e40;
/* rgb */ color: rgb(46, 142, 64);
/* oklch */ color: oklch(57.3% 0.145 146.7);
Tailwind
colors: {
  custom: {
    50: '#73b077',
    500: '#2e8e40',
    950: '#000000',
  },
}
SCSS
$custom: #2e8e40;
$custom-light: #73b077;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8e40",
  "rgb": {
    "r": 46,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 131.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.14517,
    "h": 146.7
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#2E8E40
secondary
#B563A6
accent
#4DC0DB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2E8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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