#5EB940#5EB940

#5EB940 is a light, vivid green. Relative luminance 0.374; OKLCH L 70.4% C 0.180 H 138.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5EB940
RGBrgb(94, 185, 64)
HSLhsl(105, 49%, 49%)
HSVhsv(105, 65%, 73%)
CMYKcmyk(49.2%, 0%, 65.4%, 27.5%)
CIE-LABlab(67.61, -49.31, 51.37)
CIE-LCHlch(67.61, 71.21, 133.83°)
OKLaboklab(70.43% -0.1357 0.1185)
OKLCHoklch(70.43% 0.18 138.9)
XYZxyz(22.8896, 37.4461, 10.8712)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB940 #9B40B9
analogous
#9BB940 #5EB940 #40B95F
triadic
#5EB940 #405EB9 #B9405E
tetradic
#5EB940 #409BB9 #9B40B9 #B95F40
square
#5EB940 #409BB9 #9B40B9 #B95F40
split-complementary
#5EB940 #5F40B9 #B9409B
monochromatic
#305E21 #478C30 #5EB940 #83CC6B #A9DB98

Accessibility & contrast

On white

2.47
#5EB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#5EB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB940
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB940#FFFFFF#000000##000000
##5EB9401.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#B2A24A
Tritanopia (blue-blind)
#56B3A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5eb940;
/* rgb */ color: rgb(94, 185, 64);
/* oklch */ color: oklch(70.4% 0.180 138.9);
Tailwind
colors: {
  custom: {
    50: '#93cf7a',
    500: '#5eb940',
    950: '#000000',
  },
}
SCSS
$custom: #5eb940;
$custom-light: #93cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb940",
  "rgb": {
    "r": 94,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 105.124,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.18013,
    "h": 138.9
  },
  "luminance": 0.37448
}

Semantic roles & 50–950 ramp

primary
#5EB940
secondary
#B98EC7
accent
#50D8B6
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E140A
muted
#7E827C

Preview Lab

Preview with #5EB940

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

Preview Lab → · Contrast checker → · Palette generator →

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