#5EB31C#5EB31C

#5EB31C 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#5EB31C
RGBrgb(94, 179, 28)
HSLhsl(94, 73%, 41%)
HSVhsv(94, 84%, 70%)
CMYKcmyk(47.5%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.52, -49.35, 61.61)
CIE-LCHlch(65.52, 78.94, 128.70°)
OKLaboklab(68.64% -0.138 0.135)
OKLCHoklch(68.64% 0.193 135.6)
XYZxyz(20.9453, 34.7024, 6.6929)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB31C #711CB3
analogous
#A9B31C #5EB31C #1CB326
triadic
#5EB31C #1C5EB3 #B31C5E
tetradic
#5EB31C #1CA9B3 #711CB3 #B3261C
square
#5EB31C #1CA9B3 #711CB3 #B3261C
split-complementary
#5EB31C #261CB3 #B31CA9
monochromatic
#26490B #427E14 #5EB31C #7BDE2E #9CE763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EB31C#FFFFFF#000000##000000
##5EB31C1.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: #5eb31c;
/* rgb */ color: rgb(94, 179, 28);
/* oklch */ color: oklch(68.6% 0.193 135.6);
Tailwind
colors: {
  custom: {
    50: '#94ca68',
    500: '#5eb31c',
    950: '#000000',
  },
}
SCSS
$custom: #5eb31c;
$custom-light: #94ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb31c",
  "rgb": {
    "r": 94,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 93.775,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68635,
    "c": 0.19307,
    "h": 135.6
  },
  "luminance": 0.34704
}

Semantic roles & 50–950 ramp

primary
#5EB31C
secondary
#9C5FCB
accent
#38F09F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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