#5BAC28#5BAC28

#5BAC28 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.8% C 0.181 H 136.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5BAC28
RGBrgb(91, 172, 40)
HSLhsl(97, 62%, 42%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(47.1%, 0%, 76.7%, 32.5%)
CIE-LABlab(63.24, -46.93, 55.99)
CIE-LCHlch(63.24, 73.06, 129.97°)
OKLaboklab(66.75% -0.1307 0.125)
OKLCHoklch(66.75% 0.181 136.3)
XYZxyz(19.4494, 31.8811, 7.1359)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC28 #7928AC
analogous
#9DAC28 #5BAC28 #28AC37
triadic
#5BAC28 #285BAC #AC285B
tetradic
#5BAC28 #289DAC #7928AC #AC3728
square
#5BAC28 #289DAC #7928AC #AC3728
split-complementary
#5BAC28 #3728AC #AC289D
monochromatic
#264911 #417A1C #5BAC28 #78D23F #9BDE71

Accessibility & contrast

On white

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

On black

7.38
#5BAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC28
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC28#FFFFFF#000000##000000
##5BAC281.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#A79736
Tritanopia (blue-blind)
#57A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac28;
/* rgb */ color: rgb(91, 172, 40);
/* oklch */ color: oklch(66.8% 0.181 136.3);
Tailwind
colors: {
  custom: {
    50: '#91c56c',
    500: '#5bac28',
    950: '#000000',
  },
}
SCSS
$custom: #5bac28;
$custom-light: #91c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac28",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 96.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66751,
    "c": 0.18081,
    "h": 136.3
  },
  "luminance": 0.31882
}

Semantic roles & 50–950 ramp

primary
#5BAC28
secondary
#A26BC5
accent
#42E5A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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