#5BA11B#5BA11B

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

Color values

HEX#5BA11B
RGBrgb(91, 161, 27)
HSLhsl(91, 71%, 37%)
HSVhsv(91, 83%, 63%)
CMYKcmyk(43.5%, 0%, 83.2%, 36.9%)
CIE-LABlab(59.70, -43.17, 56.62)
CIE-LCHlch(59.70, 71.20, 127.32°)
OKLaboklab(63.82% -0.1213 0.1244)
OKLCHoklch(63.82% 0.174 134.3)
XYZxyz(17.2568, 27.7920, 5.4918)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA11B #611BA1
analogous
#9EA11B #5BA11B #1BA11E
triadic
#5BA11B #1B5BA1 #A11B5B
tetradic
#5BA11B #1B9EA1 #611BA1 #A11E1B
square
#5BA11B #1B9EA1 #611BA1 #A11E1B
split-complementary
#5BA11B #1E1BA1 #A11B9E
monochromatic
#203809 #3D6D12 #5BA11B #79D524 #98E254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5ba11b;
/* rgb */ color: rgb(91, 161, 27);
/* oklch */ color: oklch(63.8% 0.174 134.3);
Tailwind
colors: {
  custom: {
    50: '#90bd65',
    500: '#5ba11b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba11b;
$custom-light: #90bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba11b",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 91.343,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63821,
    "c": 0.17375,
    "h": 134.3
  },
  "luminance": 0.27793
}

Semantic roles & 50–950 ramp

primary
#5BA11B
secondary
#8E52C5
accent
#3AEE98
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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