#5BB31A#5BB31A

#5BB31A is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.195 H 136.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5BB31A
RGBrgb(91, 179, 26)
HSLhsl(95, 75%, 40%)
HSVhsv(95, 85%, 70%)
CMYKcmyk(49.2%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.39, -50.37, 61.93)
CIE-LCHlch(65.39, 79.83, 129.12°)
OKLaboklab(68.49% -0.1406 0.1354)
OKLCHoklch(68.49% 0.195 136.1)
XYZxyz(20.6204, 34.5375, 6.5569)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BB31A #721AB3
analogous
#A7B31A #5BB31A #1AB326
triadic
#5BB31A #1A5BB3 #B31A5B
tetradic
#5BB31A #1AA7B3 #721AB3 #B3261A
square
#5BB31A #1AA7B3 #721AB3 #B3261A
split-complementary
#5BB31A #261AB3 #B31AA7
monochromatic
#25480A #407E12 #5BB31A #77E02A #99E860

Accessibility & contrast

On white

2.66
#5BB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5BB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BB31A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BB31A#FFFFFF#000000##000000
##5BB31A1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#57AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5bb31a;
/* rgb */ color: rgb(91, 179, 26);
/* oklch */ color: oklch(68.5% 0.195 136.1);
Tailwind
colors: {
  custom: {
    50: '#92ca67',
    500: '#5bb31a',
    950: '#000000',
  },
}
SCSS
$custom: #5bb31a;
$custom-light: #92ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5bb31a",
  "rgb": {
    "r": 91,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 94.51,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68493,
    "c": 0.19525,
    "h": 136.1
  },
  "luminance": 0.34539
}

Semantic roles & 50–950 ramp

primary
#5BB31A
secondary
#9D5DCC
accent
#37F1A2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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