#5EB531#5EB531

#5EB531 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.3% C 0.185 H 137.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5EB531
RGBrgb(94, 181, 49)
HSLhsl(100, 57%, 45%)
HSVhsv(100, 73%, 71%)
CMYKcmyk(48.1%, 0%, 72.9%, 29%)
CIE-LABlab(66.25, -48.96, 55.86)
CIE-LCHlch(66.25, 74.28, 131.24°)
OKLaboklab(69.27% -0.1357 0.126)
OKLCHoklch(69.27% 0.185 137.1)
XYZxyz(21.6937, 35.6477, 8.6427)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB531 #8831B5
analogous
#A0B531 #5EB531 #31B546
triadic
#5EB531 #315EB5 #B5315E
tetradic
#5EB531 #31A0B5 #8831B5 #B54631
square
#5EB531 #31A0B5 #8831B5 #B54631
split-complementary
#5EB531 #4631B5 #B531A0
monochromatic
#2C5517 #458524 #5EB531 #7ED053 #A2DD83

Accessibility & contrast

On white

2.58
#5EB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#5EB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB531
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB531#FFFFFF#000000##000000
##5EB5311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#B09E3E
Tritanopia (blue-blind)
#59AE9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5eb531;
/* rgb */ color: rgb(94, 181, 49);
/* oklch */ color: oklch(69.3% 0.185 137.1);
Tailwind
colors: {
  custom: {
    50: '#93cc72',
    500: '#5eb531',
    950: '#000000',
  },
}
SCSS
$custom: #5eb531;
$custom-light: #93cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb531",
  "rgb": {
    "r": 94,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 99.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.18518,
    "h": 137.1
  },
  "luminance": 0.35649
}

Semantic roles & 50–950 ramp

primary
#5EB531
secondary
#AD7BC7
accent
#47E1AC
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB531

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

Preview Lab → · Contrast checker → · Palette generator →

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