#5EB31A#5EB31A

#5EB31A is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 68.6% C 0.194 H 135.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5EB31A
RGBrgb(94, 179, 26)
HSLhsl(93, 75%, 40%)
HSVhsv(93, 85%, 70%)
CMYKcmyk(47.5%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.51, -49.43, 62.08)
CIE-LCHlch(65.51, 79.36, 128.53°)
OKLaboklab(68.63% -0.1383 0.1357)
OKLCHoklch(68.63% 0.194 135.6)
XYZxyz(20.9221, 34.6931, 6.5711)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB31A #6F1AB3
analogous
#ABB31A #5EB31A #1AB322
triadic
#5EB31A #1A5EB3 #B31A5E
tetradic
#5EB31A #1AABB3 #6F1AB3 #B3221A
square
#5EB31A #1AABB3 #6F1AB3 #B3221A
split-complementary
#5EB31A #221AB3 #B31AAB
monochromatic
#26480A #427E12 #5EB31A #7BE02A #9CE860

Accessibility & contrast

On white

2.65
#5EB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#5EB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB31A
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB31A#FFFFFF#000000##000000
##5EB31A1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#5BAC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5eb31a;
/* rgb */ color: rgb(94, 179, 26);
/* oklch */ color: oklch(68.6% 0.194 135.6);
Tailwind
colors: {
  custom: {
    50: '#94ca67',
    500: '#5eb31a',
    950: '#000000',
  },
}
SCSS
$custom: #5eb31a;
$custom-light: #94ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb31a",
  "rgb": {
    "r": 94,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 93.333,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68627,
    "c": 0.19379,
    "h": 135.6
  },
  "luminance": 0.34694
}

Semantic roles & 50–950 ramp

primary
#5EB31A
secondary
#9B5DCC
accent
#37F19E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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