#2EB940#2EB940

#2EB940 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.199 H 144.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2EB940
RGBrgb(46, 185, 64)
HSLhsl(128, 60%, 45%)
HSVhsv(128, 75%, 73%)
CMYKcmyk(75.1%, 0%, 65.4%, 27.5%)
CIE-LABlab(66.25, -60.13, 49.49)
CIE-LCHlch(66.25, 77.88, 140.54°)
OKLaboklab(68.92% -0.1624 0.1148)
OKLCHoklch(68.92% 0.199 144.7)
XYZxyz(19.3998, 35.6467, 10.7076)
Luminance0.3565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB940 #B92EA7
analogous
#61B92E #2EB940 #2EB986
triadic
#2EB940 #402EB9 #B9402E
tetradic
#2EB940 #2E61B9 #B92EA7 #B9862E
square
#2EB940 #2E61B9 #B92EA7 #B9862E
split-complementary
#2EB940 #862EB9 #B92E61
monochromatic
#16571E #22882F #2EB940 #51D462 #82E08E

Accessibility & contrast

On white

2.58
#2EB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#2EB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EB940
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EB940#FFFFFF#000000##000000
##2EB9401.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2eb940;
/* rgb */ color: rgb(46, 185, 64);
/* oklch */ color: oklch(68.9% 0.199 144.7);
Tailwind
colors: {
  custom: {
    50: '#7dcf7a',
    500: '#2eb940',
    950: '#000000',
  },
}
SCSS
$custom: #2eb940;
$custom-light: #7dcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb940",
  "rgb": {
    "r": 46,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 127.77,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.19889,
    "h": 144.7
  },
  "luminance": 0.35649
}

Semantic roles & 50–950 ramp

primary
#2EB940
secondary
#C97ABF
accent
#44CFE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2EB940

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

Preview Lab → · Contrast checker → · Palette generator →

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