#5BA11D#5BA11D

#5BA11D is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.173 H 134.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5BA11D
RGBrgb(91, 161, 29)
HSLhsl(92, 69%, 37%)
HSVhsv(92, 82%, 63%)
CMYKcmyk(43.5%, 0%, 82%, 36.9%)
CIE-LABlab(59.71, -43.08, 56.08)
CIE-LCHlch(59.71, 70.71, 127.53°)
OKLaboklab(63.83% -0.121 0.1235)
OKLCHoklch(63.83% 0.173 134.4)
XYZxyz(17.2807, 27.8016, 5.6179)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA11D #631DA1
analogous
#9DA11D #5BA11D #1DA121
triadic
#5BA11D #1D5BA1 #A11D5B
tetradic
#5BA11D #1D9DA1 #631DA1 #A1211D
square
#5BA11D #1D9DA1 #631DA1 #A1211D
split-complementary
#5BA11D #211DA1 #A11D9D
monochromatic
#20390A #3E6D14 #5BA11D #78D526 #98E158

Accessibility & contrast

On white

3.20
#5BA11D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5BA11D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA11D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA11D#FFFFFF#000000##000000
##5BA11D1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba11d;
/* rgb */ color: rgb(91, 161, 29);
/* oklch */ color: oklch(63.8% 0.173 134.4);
Tailwind
colors: {
  custom: {
    50: '#90bd66',
    500: '#5ba11d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba11d;
$custom-light: #90bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba11d",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 29
  },
  "hsl": {
    "h": 91.818,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.17288,
    "h": 134.4
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#5BA11D
secondary
#9055C4
accent
#3CEC99
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA11D

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

Preview Lab → · Contrast checker → · Palette generator →

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