#5EB31B#5EB31B

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

Color values

HEX#5EB31B
RGBrgb(94, 179, 27)
HSLhsl(94, 74%, 40%)
HSVhsv(94, 85%, 70%)
CMYKcmyk(47.5%, 0%, 84.9%, 29.8%)
CIE-LABlab(65.51, -49.40, 61.85)
CIE-LCHlch(65.51, 79.16, 128.61°)
OKLaboklab(68.63% -0.1382 0.1353)
OKLCHoklch(68.63% 0.193 135.6)
XYZxyz(20.9335, 34.6976, 6.6310)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB31B #701BB3
analogous
#AAB31B #5EB31B #1BB324
triadic
#5EB31B #1B5EB3 #B31B5E
tetradic
#5EB31B #1BAAB3 #701BB3 #B3241B
square
#5EB31B #1BAAB3 #701BB3 #B3241B
split-complementary
#5EB31B #241BB3 #B31BAA
monochromatic
#26490B #427E13 #5EB31B #7BDF2C #9CE761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EB31B#FFFFFF#000000##000000
##5EB31B1.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)
#AF9D2F
Tritanopia (blue-blind)
#5BAC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5eb31b;
/* rgb */ color: rgb(94, 179, 27);
/* oklch */ color: oklch(68.6% 0.193 135.6);
Tailwind
colors: {
  custom: {
    50: '#94ca68',
    500: '#5eb31b',
    950: '#000000',
  },
}
SCSS
$custom: #5eb31b;
$custom-light: #94ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb31b",
  "rgb": {
    "r": 94,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 93.553,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.19343,
    "h": 135.6
  },
  "luminance": 0.34699
}

Semantic roles & 50–950 ramp

primary
#5EB31B
secondary
#9B5ECC
accent
#37F09F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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