#5EB540#5EB540

#5EB540 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.4% C 0.175 H 138.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5EB540
RGBrgb(94, 181, 64)
HSLhsl(105, 48%, 48%)
HSVhsv(105, 65%, 71%)
CMYKcmyk(48.1%, 0%, 64.6%, 29%)
CIE-LABlab(66.36, -47.72, 50.01)
CIE-LCHlch(66.36, 69.13, 133.66°)
OKLaboklab(69.4% -0.1314 0.1156)
OKLCHoklch(69.4% 0.175 138.7)
XYZxyz(22.0646, 35.7961, 10.5962)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB540 #9740B5
analogous
#99B540 #5EB540 #40B55C
triadic
#5EB540 #405EB5 #B5405E
tetradic
#5EB540 #4099B5 #9740B5 #B55C40
square
#5EB540 #4099B5 #9740B5 #B55C40
split-complementary
#5EB540 #5C40B5 #B54099
monochromatic
#2F5B20 #478830 #5EB540 #81CA68 #A7DA96

Accessibility & contrast

On white

2.57
#5EB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#5EB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB540
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB540#FFFFFF#000000##000000
##5EB5401.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#57AF9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5eb540;
/* rgb */ color: rgb(94, 181, 64);
/* oklch */ color: oklch(69.4% 0.175 138.7);
Tailwind
colors: {
  custom: {
    50: '#93cc7a',
    500: '#5eb540',
    950: '#000000',
  },
}
SCSS
$custom: #5eb540;
$custom-light: #93cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb540",
  "rgb": {
    "r": 94,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 104.615,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.17498,
    "h": 138.7
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#5EB540
secondary
#B78BC5
accent
#50D7B5
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E1309
muted
#7E827B

Preview Lab

Preview with #5EB540

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

Preview Lab → · Contrast checker → · Palette generator →

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