#5BA11C#5BA11C

#5BA11C 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#5BA11C
RGBrgb(91, 161, 28)
HSLhsl(92, 70%, 37%)
HSVhsv(92, 83%, 63%)
CMYKcmyk(43.5%, 0%, 82.6%, 36.9%)
CIE-LABlab(59.70, -43.13, 56.35)
CIE-LCHlch(59.70, 70.96, 127.43°)
OKLaboklab(63.83% -0.1212 0.1239)
OKLCHoklch(63.83% 0.173 134.4)
XYZxyz(17.2685, 27.7968, 5.5538)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA11C #621CA1
analogous
#9EA11C #5BA11C #1CA120
triadic
#5BA11C #1C5BA1 #A11C5B
tetradic
#5BA11C #1C9EA1 #621CA1 #A1201C
square
#5BA11C #1C9EA1 #621CA1 #A1201C
split-complementary
#5BA11C #201CA1 #A11C9E
monochromatic
#20390A #3E6D13 #5BA11C #78D525 #98E256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA11C#FFFFFF#000000##000000
##5BA11C1.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: #5ba11c;
/* rgb */ color: rgb(91, 161, 28);
/* oklch */ color: oklch(63.8% 0.173 134.4);
Tailwind
colors: {
  custom: {
    50: '#90bd65',
    500: '#5ba11c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba11c;
$custom-light: #90bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba11c",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 91.579,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63826,
    "c": 0.17332,
    "h": 134.4
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#5BA11C
secondary
#8F54C5
accent
#3BED99
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA11C

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

Preview Lab → · Contrast checker → · Palette generator →

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