#5BA524#5BA524

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

Color values

HEX#5BA524
RGBrgb(91, 165, 36)
HSLhsl(94, 64%, 39%)
HSVhsv(94, 78%, 65%)
CMYKcmyk(44.8%, 0%, 78.2%, 35.3%)
CIE-LABlab(61.01, -44.35, 55.16)
CIE-LCHlch(61.01, 70.78, 128.80°)
OKLaboklab(64.91% -0.124 0.1227)
OKLCHoklch(64.91% 0.174 135.3)
XYZxyz(18.0875, 29.2607, 6.3635)
Luminance0.2926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA524 #6E24A5
analogous
#9BA524 #5BA524 #24A52E
triadic
#5BA524 #245BA5 #A5245B
tetradic
#5BA524 #249BA5 #6E24A5 #A52E24
square
#5BA524 #249BA5 #6E24A5 #A52E24
split-complementary
#5BA524 #2E24A5 #A5249B
monochromatic
#24410E #3F7319 #5BA524 #77D334 #99DE66

Accessibility & contrast

On white

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

On black

6.85
#5BA524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA524
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA524#FFFFFF#000000##000000
##5BA5241.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#599F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba524;
/* rgb */ color: rgb(91, 165, 36);
/* oklch */ color: oklch(64.9% 0.174 135.3);
Tailwind
colors: {
  custom: {
    50: '#90c069',
    500: '#5ba524',
    950: '#000000',
  },
}
SCSS
$custom: #5ba524;
$custom-light: #90c069;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba524",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 94.419,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6491,
    "c": 0.17438,
    "h": 135.3
  },
  "luminance": 0.29262
}

Semantic roles & 50–950 ramp

primary
#5BA524
secondary
#9A62C3
accent
#41E7A0
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA524

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

Preview Lab → · Contrast checker → · Palette generator →

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