#5BAB20#5BAB20

#5BAB20 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.4% C 0.184 H 135.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5BAB20
RGBrgb(91, 171, 32)
HSLhsl(95, 68%, 40%)
HSVhsv(95, 81%, 67%)
CMYKcmyk(46.8%, 0%, 81.3%, 32.9%)
CIE-LABlab(62.89, -46.98, 58.14)
CIE-LCHlch(62.89, 74.74, 128.94°)
OKLaboklab(66.45% -0.1313 0.1283)
OKLCHoklch(66.45% 0.184 135.7)
XYZxyz(19.1375, 31.4530, 6.4288)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB20 #7020AB
analogous
#A1AB20 #5BAB20 #20AB2A
triadic
#5BAB20 #205BAB #AB205B
tetradic
#5BAB20 #20A1AB #7020AB #AB2A20
square
#5BAB20 #20A1AB #7020AB #AB2A20
split-complementary
#5BAB20 #2A20AB #AB20A1
monochromatic
#24440D #407716 #5BAB20 #77D830 #99E263

Accessibility & contrast

On white

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

On black

7.29
#5BAB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB20
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB20#FFFFFF#000000##000000
##5BAB201.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#58A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab20;
/* rgb */ color: rgb(91, 171, 32);
/* oklch */ color: oklch(66.4% 0.184 135.7);
Tailwind
colors: {
  custom: {
    50: '#91c568',
    500: '#5bab20',
    950: '#000000',
  },
}
SCSS
$custom: #5bab20;
$custom-light: #91c568;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab20",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 32
  },
  "hsl": {
    "h": 94.532,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.18354,
    "h": 135.7
  },
  "luminance": 0.31454
}

Semantic roles & 50–950 ramp

primary
#5BAB20
secondary
#9B60C7
accent
#3CEBA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAB20

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

Preview Lab → · Contrast checker → · Palette generator →

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