#5EC040#5EC040

#5EC040 is a light, vivid green. Relative luminance 0.404; OKLCH L 72.2% C 0.189 H 139.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5EC040
RGBrgb(94, 192, 64)
HSLhsl(106, 50%, 50%)
HSVhsv(106, 67%, 75%)
CMYKcmyk(51%, 0%, 66.7%, 24.7%)
CIE-LABlab(69.79, -52.04, 53.72)
CIE-LCHlch(69.79, 74.79, 134.09°)
OKLaboklab(72.22% -0.1431 0.1234)
OKLCHoklch(72.22% 0.189 139.2)
XYZxyz(24.3902, 40.4473, 11.3714)
Luminance0.4045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EC040 #A240C0
analogous
#9EC040 #5EC040 #40C062
triadic
#5EC040 #405EC0 #C0405E
tetradic
#5EC040 #409EC0 #A240C0 #C06240
square
#5EC040 #409EC0 #A240C0 #C06240
split-complementary
#5EC040 #6240C0 #C0409E
monochromatic
#316421 #479230 #5EC040 #85CF6E #ACDE9C

Accessibility & contrast

On white

2.31
#5EC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#5EC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EC040
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EC040#FFFFFF#000000##000000
##5EC0401.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B02F
Deuteranopia (green-blind)
#B9A74B
Tritanopia (blue-blind)
#55BAA6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #5ec040;
/* rgb */ color: rgb(94, 192, 64);
/* oklch */ color: oklch(72.2% 0.189 139.2);
Tailwind
colors: {
  custom: {
    50: '#94d47b',
    500: '#5ec040',
    950: '#000000',
  },
}
SCSS
$custom: #5ec040;
$custom-light: #94d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ec040",
  "rgb": {
    "r": 94,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 105.938,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72216,
    "c": 0.18896,
    "h": 139.2
  },
  "luminance": 0.40449
}

Semantic roles & 50–950 ramp

primary
#5EC040
secondary
#BD91CB
accent
#4EDAB9
background
#F9FDF7
surface
#F2FAEE
border
#CCD3C9
text
#0E140A
muted
#7E837C

Preview Lab

Preview with #5EC040

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

Preview Lab → · Contrast checker → · Palette generator →

#5EC040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva