#5BAA20#5BAA20

#5BAA20 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.182 H 135.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5BAA20
RGBrgb(91, 170, 32)
HSLhsl(94, 68%, 40%)
HSVhsv(94, 81%, 67%)
CMYKcmyk(46.5%, 0%, 81.2%, 33.3%)
CIE-LABlab(62.57, -46.58, 57.84)
CIE-LCHlch(62.57, 74.27, 128.84°)
OKLaboklab(66.19% -0.1302 0.1277)
OKLCHoklch(66.19% 0.182 135.6)
XYZxyz(18.9494, 31.0767, 6.3661)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA20 #6F20AA
analogous
#A0AA20 #5BAA20 #20AA2A
triadic
#5BAA20 #205BAA #AA205B
tetradic
#5BAA20 #20A0AA #6F20AA #AA2A20
square
#5BAA20 #20A0AA #6F20AA #AA2A20
split-complementary
#5BAA20 #2A20AA #AA20A0
monochromatic
#24430D #3F7616 #5BAA20 #77D82F #99E263

Accessibility & contrast

On white

2.91
#5BAA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5BAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA20
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA20#FFFFFF#000000##000000
##5BAA201.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa20;
/* rgb */ color: rgb(91, 170, 32);
/* oklch */ color: oklch(66.2% 0.182 135.6);
Tailwind
colors: {
  custom: {
    50: '#91c468',
    500: '#5baa20',
    950: '#000000',
  },
}
SCSS
$custom: #5baa20;
$custom-light: #91c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa20",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 94.348,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66186,
    "c": 0.18235,
    "h": 135.6
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#5BAA20
secondary
#9A5FC7
accent
#3DEBA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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