#5BAA28#5BAA28

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

Color values

HEX#5BAA28
RGBrgb(91, 170, 40)
HSLhsl(96, 62%, 41%)
HSVhsv(96, 76%, 67%)
CMYKcmyk(46.5%, 0%, 76.5%, 33.3%)
CIE-LABlab(62.61, -46.13, 55.38)
CIE-LCHlch(62.61, 72.08, 129.79°)
OKLaboklab(66.23% -0.1285 0.1237)
OKLCHoklch(66.23% 0.178 136.1)
XYZxyz(19.0716, 31.1256, 7.0100)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA28 #7728AA
analogous
#9CAA28 #5BAA28 #28AA36
triadic
#5BAA28 #285BAA #AA285B
tetradic
#5BAA28 #289CAA #7728AA #AA3628
square
#5BAA28 #289CAA #7728AA #AA3628
split-complementary
#5BAA28 #3628AA #AA289C
monochromatic
#264711 #40781C #5BAA28 #78D23E #9ADD6F

Accessibility & contrast

On white

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

On black

7.23
#5BAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA28
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA28#FFFFFF#000000##000000
##5BAA281.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C08
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#58A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa28;
/* rgb */ color: rgb(91, 170, 40);
/* oklch */ color: oklch(66.2% 0.178 136.1);
Tailwind
colors: {
  custom: {
    50: '#91c46c',
    500: '#5baa28',
    950: '#000000',
  },
}
SCSS
$custom: #5baa28;
$custom-light: #91c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa28",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 96.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.17836,
    "h": 136.1
  },
  "luminance": 0.31127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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