#5BA81B#5BA81B

#5BA81B is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.6% C 0.182 H 135.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5BA81B
RGBrgb(91, 168, 27)
HSLhsl(93, 72%, 38%)
HSVhsv(93, 84%, 66%)
CMYKcmyk(45.8%, 0%, 83.9%, 34.1%)
CIE-LABlab(61.92, -46.01, 58.61)
CIE-LCHlch(61.92, 74.52, 128.13°)
OKLaboklab(65.64% -0.129 0.1286)
OKLCHoklch(65.64% 0.182 135.1)
XYZxyz(18.5144, 30.3074, 5.9110)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA81B #681BA8
analogous
#A1A81B #5BA81B #1BA821
triadic
#5BA81B #1B5BA8 #A81B5B
tetradic
#5BA81B #1BA1A8 #681BA8 #A8211B
square
#5BA81B #1BA1A8 #681BA8 #A8211B
split-complementary
#5BA81B #211BA8 #A81BA1
monochromatic
#223F0A #3E7313 #5BA81B #78DC24 #98E459

Accessibility & contrast

On white

2.97
#5BA81B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5BA81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA81B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA81B#FFFFFF#000000##000000
##5BA81B1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#59A18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba81b;
/* rgb */ color: rgb(91, 168, 27);
/* oklch */ color: oklch(65.6% 0.182 135.1);
Tailwind
colors: {
  custom: {
    50: '#91c266',
    500: '#5ba81b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba81b;
$custom-light: #91c266;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba81b",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 92.766,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65642,
    "c": 0.18209,
    "h": 135.1
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#5BA81B
secondary
#9557C8
accent
#39EF9C
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5BA81B

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

Preview Lab → · Contrast checker → · Palette generator →

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