#5BA11A#5BA11A

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

Color values

HEX#5BA11A
RGBrgb(91, 161, 26)
HSLhsl(91, 72%, 37%)
HSVhsv(91, 84%, 63%)
CMYKcmyk(43.5%, 0%, 83.9%, 36.9%)
CIE-LABlab(59.70, -43.22, 56.89)
CIE-LCHlch(59.70, 71.44, 127.22°)
OKLaboklab(63.82% -0.1215 0.1248)
OKLCHoklch(63.82% 0.174 134.2)
XYZxyz(17.2454, 27.7875, 5.4319)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA11A #601AA1
analogous
#9FA11A #5BA11A #1AA11C
triadic
#5BA11A #1A5BA1 #A11A5B
tetradic
#5BA11A #1A9FA1 #601AA1 #A11C1A
square
#5BA11A #1A9FA1 #601AA1 #A11C1A
split-complementary
#5BA11A #1C1AA1 #A11A9F
monochromatic
#1F3809 #3D6C11 #5BA11A #79D623 #98E352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA11A#FFFFFF#000000##000000
##5BA11A1.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)
#9E8E2B
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba11a;
/* rgb */ color: rgb(91, 161, 26);
/* oklch */ color: oklch(63.8% 0.174 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bd65',
    500: '#5ba11a',
    950: '#000000',
  },
}
SCSS
$custom: #5ba11a;
$custom-light: #90bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba11a",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 91.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63817,
    "c": 0.17415,
    "h": 134.2
  },
  "luminance": 0.27788
}

Semantic roles & 50–950 ramp

primary
#5BA11A
secondary
#8E51C6
accent
#39EF97
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA11A

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

Preview Lab → · Contrast checker → · Palette generator →

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