#5BAC20#5BAC20

#5BAC20 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.185 H 135.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5BAC20
RGBrgb(91, 172, 32)
HSLhsl(95, 69%, 40%)
HSVhsv(95, 81%, 67%)
CMYKcmyk(47.1%, 0%, 81.4%, 32.5%)
CIE-LABlab(63.20, -47.37, 58.43)
CIE-LCHlch(63.20, 75.22, 129.04°)
OKLaboklab(66.71% -0.1323 0.1289)
OKLCHoklch(66.71% 0.185 135.8)
XYZxyz(19.3271, 31.8322, 6.4920)
Luminance0.3183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC20 #7120AC
analogous
#A1AC20 #5BAC20 #20AC2B
triadic
#5BAC20 #205BAC #AC205B
tetradic
#5BAC20 #20A1AC #7120AC #AC2B20
square
#5BAC20 #20A1AC #7120AC #AC2B20
split-complementary
#5BAC20 #2B20AC #AC20A1
monochromatic
#24450D #407816 #5BAC20 #77D931 #99E264

Accessibility & contrast

On white

2.85
#5BAC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5BAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC20
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC20#FFFFFF#000000##000000
##5BAC201.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#58A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac20;
/* rgb */ color: rgb(91, 172, 32);
/* oklch */ color: oklch(66.7% 0.185 135.8);
Tailwind
colors: {
  custom: {
    50: '#91c569',
    500: '#5bac20',
    950: '#000000',
  },
}
SCSS
$custom: #5bac20;
$custom-light: #91c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac20",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 94.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.18473,
    "h": 135.8
  },
  "luminance": 0.31833
}

Semantic roles & 50–950 ramp

primary
#5BAC20
secondary
#9C60C7
accent
#3CEBA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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