#5BA528#5BA528

#5BA528 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.172 H 135.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5BA528
RGBrgb(91, 165, 40)
HSLhsl(96, 61%, 40%)
HSVhsv(96, 76%, 65%)
CMYKcmyk(44.8%, 0%, 75.8%, 35.3%)
CIE-LABlab(61.03, -44.10, 53.84)
CIE-LCHlch(61.03, 69.60, 129.32°)
OKLaboklab(64.94% -0.123 0.1205)
OKLCHoklch(64.94% 0.172 135.6)
XYZxyz(18.1521, 29.2865, 6.7035)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA528 #7228A5
analogous
#9AA528 #5BA528 #28A533
triadic
#5BA528 #285BA5 #A5285B
tetradic
#5BA528 #289AA5 #7228A5 #A53328
square
#5BA528 #289AA5 #7228A5 #A53328
split-complementary
#5BA528 #3328A5 #A5289A
monochromatic
#254210 #40741C #5BA528 #77CF3B #99DB6C

Accessibility & contrast

On white

3.06
#5BA528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5BA528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA528
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA528#FFFFFF#000000##000000
##5BA5281.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#589F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba528;
/* rgb */ color: rgb(91, 165, 40);
/* oklch */ color: oklch(64.9% 0.172 135.6);
Tailwind
colors: {
  custom: {
    50: '#90c06b',
    500: '#5ba528',
    950: '#000000',
  },
}
SCSS
$custom: #5ba528;
$custom-light: #90c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba528",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 95.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.17221,
    "h": 135.6
  },
  "luminance": 0.29288
}

Semantic roles & 50–950 ramp

primary
#5BA528
secondary
#9D67C2
accent
#44E4A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA528

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

Preview Lab → · Contrast checker → · Palette generator →

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