#5EB31F#5EB31F

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

Color values

HEX#5EB31F
RGBrgb(94, 179, 31)
HSLhsl(94, 70%, 41%)
HSVhsv(94, 83%, 70%)
CMYKcmyk(47.5%, 0%, 82.7%, 29.8%)
CIE-LABlab(65.53, -49.22, 60.86)
CIE-LCHlch(65.53, 78.28, 128.97°)
OKLaboklab(68.65% -0.1375 0.1338)
OKLCHoklch(68.65% 0.192 135.8)
XYZxyz(20.9830, 34.7174, 6.8915)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB31F #741FB3
analogous
#A8B31F #5EB31F #1FB32A
triadic
#5EB31F #1F5EB3 #B31F5E
tetradic
#5EB31F #1FA8B3 #741FB3 #B32A1F
square
#5EB31F #1FA8B3 #741FB3 #B32A1F
split-complementary
#5EB31F #2A1FB3 #B31FA8
monochromatic
#274B0D #437F16 #5EB31F #7BDC33 #9DE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EB31F#FFFFFF#000000##000000
##5EB31F1.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)
#AE9D32
Tritanopia (blue-blind)
#5BAC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5eb31f;
/* rgb */ color: rgb(94, 179, 31);
/* oklch */ color: oklch(68.6% 0.192 135.8);
Tailwind
colors: {
  custom: {
    50: '#94ca69',
    500: '#5eb31f',
    950: '#000000',
  },
}
SCSS
$custom: #5eb31f;
$custom-light: #94ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb31f",
  "rgb": {
    "r": 94,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 94.459,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.1919,
    "h": 135.8
  },
  "luminance": 0.34719
}

Semantic roles & 50–950 ramp

primary
#5EB31F
secondary
#9F64CA
accent
#3BEDA1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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