#2EB040#2EB040

#2EB040 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.5% C 0.188 H 145.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2EB040
RGBrgb(46, 176, 64)
HSLhsl(128, 59%, 44%)
HSVhsv(128, 74%, 69%)
CMYKcmyk(73.9%, 0%, 63.6%, 31%)
CIE-LABlab(63.34, -57.13, 46.26)
CIE-LCHlch(63.34, 73.52, 141.00°)
OKLaboklab(66.51% -0.1543 0.1079)
OKLCHoklch(66.51% 0.188 145)
XYZxyz(17.5763, 31.9997, 10.0997)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB040 #B02E9E
analogous
#5DB02E #2EB040 #2EB081
triadic
#2EB040 #402EB0 #B0402E
tetradic
#2EB040 #2E5DB0 #B02E9E #B0812E
square
#2EB040 #2E5DB0 #B02E9E #B0812E
split-complementary
#2EB040 #812EB0 #B02E5D
monochromatic
#154F1D #217F2E #2EB040 #4BD05E #7CDD89

Accessibility & contrast

On white

2.84
#2EB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#2EB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EB040
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EB040#FFFFFF#000000##000000
##2EB0401.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A033
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2eb040;
/* rgb */ color: rgb(46, 176, 64);
/* oklch */ color: oklch(66.5% 0.188 145.0);
Tailwind
colors: {
  custom: {
    50: '#7bc979',
    500: '#2eb040',
    950: '#000000',
  },
}
SCSS
$custom: #2eb040;
$custom-light: #7bc979;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb040",
  "rgb": {
    "r": 46,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 128.308,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66508,
    "c": 0.18828,
    "h": 145
  },
  "luminance": 0.32002
}

Semantic roles & 50–950 ramp

primary
#2EB040
secondary
#C575BA
accent
#46CCE2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2EB040

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

Preview Lab → · Contrast checker → · Palette generator →

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