#5EB41C#5EB41C

#5EB41C is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 68.9% C 0.194 H 135.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#5EB41C
RGBrgb(94, 180, 28)
HSLhsl(94, 73%, 41%)
HSVhsv(94, 84%, 71%)
CMYKcmyk(47.8%, 0%, 84.4%, 29.4%)
CIE-LABlab(65.83, -49.74, 61.89)
CIE-LCHlch(65.83, 79.40, 128.79°)
OKLaboklab(68.89% -0.1391 0.1356)
OKLCHoklch(68.89% 0.194 135.7)
XYZxyz(21.1464, 35.1046, 6.7600)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB41C #721CB4
analogous
#AAB41C #5EB41C #1CB426
triadic
#5EB41C #1C5EB4 #B41C5E
tetradic
#5EB41C #1CAAB4 #721CB4 #B4261C
square
#5EB41C #1CAAB4 #721CB4 #B4261C
split-complementary
#5EB41C #261CB4 #B41CAA
monochromatic
#274A0C #427F14 #5EB41C #7BDF2F #9DE764

Accessibility & contrast

On white

2.62
#5EB41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#5EB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB41C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB41C#FFFFFF#000000##000000
##5EB41C1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#5BAD99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5eb41c;
/* rgb */ color: rgb(94, 180, 28);
/* oklch */ color: oklch(68.9% 0.194 135.7);
Tailwind
colors: {
  custom: {
    50: '#94cb68',
    500: '#5eb41c',
    950: '#000000',
  },
}
SCSS
$custom: #5eb41c;
$custom-light: #94cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb41c",
  "rgb": {
    "r": 94,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 93.947,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68894,
    "c": 0.19422,
    "h": 135.7
  },
  "luminance": 0.35106
}

Semantic roles & 50–950 ramp

primary
#5EB41C
secondary
#9D60CC
accent
#38F0A0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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