#2E9540#2E9540

#2E9540 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.154 H 146.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2E9540
RGBrgb(46, 149, 64)
HSLhsl(130, 53%, 38%)
HSVhsv(130, 69%, 58%)
CMYKcmyk(69.1%, 0%, 57%, 41.6%)
CIE-LABlab(54.50, -47.58, 36.04)
CIE-LCHlch(54.50, 59.69, 142.86°)
OKLaboklab(59.18% -0.1284 0.0859)
OKLCHoklch(59.18% 0.155 146.2)
XYZxyz(12.7987, 22.4445, 8.5072)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9540 #952E83
analogous
#4F952E #2E9540 #2E9573
triadic
#2E9540 #402E95 #95402E
tetradic
#2E9540 #2E4F95 #952E83 #95732E
square
#2E9540 #2E4F95 #952E83 #95732E
split-complementary
#2E9540 #732E95 #952E4F
monochromatic
#113718 #20662C #2E9540 #3DC354 #6CD27E

Accessibility & contrast

On white

3.83
#2E9540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2E9540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9540
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9540#FFFFFF#000000##000000
##2E95401.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978838
Deuteranopia (green-blind)
#8B7F47
Tritanopia (blue-blind)
#079182
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2e9540;
/* rgb */ color: rgb(46, 149, 64);
/* oklch */ color: oklch(59.2% 0.154 146.2);
Tailwind
colors: {
  custom: {
    50: '#75b577',
    500: '#2e9540',
    950: '#000000',
  },
}
SCSS
$custom: #2e9540;
$custom-light: #75b577;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9540",
  "rgb": {
    "r": 46,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 130.485,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.1545,
    "h": 146.2
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#2E9540
secondary
#B966AA
accent
#4CC3DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2E9540

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

Preview Lab → · Contrast checker → · Palette generator →

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