#5BA520#5BA520

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

Color values

HEX#5BA520
RGBrgb(91, 165, 32)
HSLhsl(93, 68%, 39%)
HSVhsv(93, 81%, 65%)
CMYKcmyk(44.8%, 0%, 80.6%, 35.3%)
CIE-LABlab(60.99, -44.57, 56.38)
CIE-LCHlch(60.99, 71.87, 128.32°)
OKLaboklab(64.89% -0.1248 0.1246)
OKLCHoklch(64.89% 0.176 135)
XYZxyz(18.0298, 29.2376, 6.0596)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA520 #6A20A5
analogous
#9DA520 #5BA520 #20A527
triadic
#5BA520 #205BA5 #A5205B
tetradic
#5BA520 #209DA5 #6A20A5 #A52720
square
#5BA520 #209DA5 #6A20A5 #A52720
split-complementary
#5BA520 #2720A5 #A5209D
monochromatic
#223E0C #3F7216 #5BA520 #78D62C #98E05F

Accessibility & contrast

On white

3.07
#5BA520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA520#FFFFFF#000000##000000
##5BA5201.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ba520;
/* rgb */ color: rgb(91, 165, 32);
/* oklch */ color: oklch(64.9% 0.176 135.0);
Tailwind
colors: {
  custom: {
    50: '#90c068',
    500: '#5ba520',
    950: '#000000',
  },
}
SCSS
$custom: #5ba520;
$custom-light: #90c068;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba520",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 93.383,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64887,
    "c": 0.17635,
    "h": 135
  },
  "luminance": 0.29239
}

Semantic roles & 50–950 ramp

primary
#5BA520
secondary
#965CC5
accent
#3DEA9E
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA520

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

Preview Lab → · Contrast checker → · Palette generator →

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