#5BAB28#5BAB28

#5BAB28 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.180 H 136.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5BAB28
RGBrgb(91, 171, 40)
HSLhsl(97, 62%, 41%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(46.8%, 0%, 76.6%, 32.9%)
CIE-LABlab(62.93, -46.53, 55.69)
CIE-LCHlch(62.93, 72.57, 129.88°)
OKLaboklab(66.49% -0.1296 0.1243)
OKLCHoklch(66.49% 0.18 136.2)
XYZxyz(19.2598, 31.5019, 7.0727)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB28 #7828AB
analogous
#9DAB28 #5BAB28 #28AB37
triadic
#5BAB28 #285BAB #AB285B
tetradic
#5BAB28 #289DAB #7828AB #AB3728
square
#5BAB28 #289DAB #7828AB #AB3728
split-complementary
#5BAB28 #3728AB #AB289D
monochromatic
#264811 #41791C #5BAB28 #78D23E #9BDE70

Accessibility & contrast

On white

2.88
#5BAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5BAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB28
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB28#FFFFFF#000000##000000
##5BAB281.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C08
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#57A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab28;
/* rgb */ color: rgb(91, 171, 40);
/* oklch */ color: oklch(66.5% 0.180 136.2);
Tailwind
colors: {
  custom: {
    50: '#91c56c',
    500: '#5bab28',
    950: '#000000',
  },
}
SCSS
$custom: #5bab28;
$custom-light: #91c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab28",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 96.641,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66492,
    "c": 0.17959,
    "h": 136.2
  },
  "luminance": 0.31503
}

Semantic roles & 50–950 ramp

primary
#5BAB28
secondary
#A16AC4
accent
#43E5A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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