#5EB31D#5EB31D

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

Color values

HEX#5EB31D
RGBrgb(94, 179, 29)
HSLhsl(94, 72%, 41%)
HSVhsv(94, 84%, 70%)
CMYKcmyk(47.5%, 0%, 83.8%, 29.8%)
CIE-LABlab(65.52, -49.31, 61.37)
CIE-LCHlch(65.52, 78.73, 128.78°)
OKLaboklab(68.64% -0.1379 0.1346)
OKLCHoklch(68.64% 0.193 135.7)
XYZxyz(20.9574, 34.7072, 6.7570)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB31D #721DB3
analogous
#A9B31D #5EB31D #1DB327
triadic
#5EB31D #1D5EB3 #B31D5E
tetradic
#5EB31D #1DA9B3 #721DB3 #B3271D
square
#5EB31D #1DA9B3 #721DB3 #B3271D
split-complementary
#5EB31D #271DB3 #B31DA9
monochromatic
#274A0C #427E14 #5EB31D #7BDD30 #9DE664

Accessibility & contrast

On white

2.64
#5EB31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EB31D#FFFFFF#000000##000000
##5EB31D1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5eb31d;
/* rgb */ color: rgb(94, 179, 29);
/* oklch */ color: oklch(68.6% 0.193 135.7);
Tailwind
colors: {
  custom: {
    50: '#94ca69',
    500: '#5eb31d',
    950: '#000000',
  },
}
SCSS
$custom: #5eb31d;
$custom-light: #94ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb31d",
  "rgb": {
    "r": 94,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 94,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6864,
    "c": 0.19269,
    "h": 135.7
  },
  "luminance": 0.34709
}

Semantic roles & 50–950 ramp

primary
#5EB31D
secondary
#9D61CB
accent
#39EFA0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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