#5BAD31#5BAD31

#5BAD31 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.1% C 0.177 H 137.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5BAD31
RGBrgb(91, 173, 49)
HSLhsl(100, 56%, 44%)
HSVhsv(100, 72%, 68%)
CMYKcmyk(47.4%, 0%, 71.7%, 32.2%)
CIE-LABlab(63.62, -46.71, 53.15)
CIE-LCHlch(63.62, 70.76, 131.31°)
OKLaboklab(67.07% -0.1295 0.1203)
OKLCHoklch(67.07% 0.177 137.1)
XYZxyz(19.8117, 32.3317, 8.1018)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAD31 #8331AD
analogous
#99AD31 #5BAD31 #31AD45
triadic
#5BAD31 #315BAD #AD315B
tetradic
#5BAD31 #3199AD #8331AD #AD4531
square
#5BAD31 #3199AD #8331AD #AD4531
split-complementary
#5BAD31 #4531AD #AD3199
monochromatic
#294E16 #427D23 #5BAD31 #79CD4E #9DDA7E

Accessibility & contrast

On white

2.81
#5BAD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5BAD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAD31
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAD31#FFFFFF#000000##000000
##5BAD311.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#56A795
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5bad31;
/* rgb */ color: rgb(91, 173, 49);
/* oklch */ color: oklch(67.1% 0.177 137.1);
Tailwind
colors: {
  custom: {
    50: '#91c671',
    500: '#5bad31',
    950: '#000000',
  },
}
SCSS
$custom: #5bad31;
$custom-light: #91c671;
$custom-dark: #000000;
JSON
{
  "hex": "#5bad31",
  "rgb": {
    "r": 91,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 99.677,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.17675,
    "h": 137.1
  },
  "luminance": 0.32333
}

Semantic roles & 50–950 ramp

primary
#5BAD31
secondary
#A977C3
accent
#49DFAC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAD31

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

Preview Lab → · Contrast checker → · Palette generator →

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