#5BA01A#5BA01A

#5BA01A is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.6% C 0.173 H 134.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5BA01A
RGBrgb(91, 160, 26)
HSLhsl(91, 72%, 36%)
HSVhsv(91, 84%, 63%)
CMYKcmyk(43.1%, 0%, 83.8%, 37.3%)
CIE-LABlab(59.38, -42.80, 56.60)
CIE-LCHlch(59.38, 70.96, 127.10°)
OKLaboklab(63.56% -0.1204 0.1242)
OKLCHoklch(63.56% 0.173 134.1)
XYZxyz(17.0713, 27.4394, 5.3739)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA01A #5F1AA0
analogous
#9EA01A #5BA01A #1AA01C
triadic
#5BA01A #1A5BA0 #A01A5B
tetradic
#5BA01A #1A9EA0 #5F1AA0 #A01C1A
square
#5BA01A #1A9EA0 #5F1AA0 #A01C1A
split-complementary
#5BA01A #1C1AA0 #A01A9E
monochromatic
#1F3709 #3D6B11 #5BA01A #79D523 #98E352

Accessibility & contrast

On white

3.24
#5BA01A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5BA01A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA01A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA01A#FFFFFF#000000##000000
##5BA01A1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba01a;
/* rgb */ color: rgb(91, 160, 26);
/* oklch */ color: oklch(63.6% 0.173 134.1);
Tailwind
colors: {
  custom: {
    50: '#90bc64',
    500: '#5ba01a',
    950: '#000000',
  },
}
SCSS
$custom: #5ba01a;
$custom-light: #90bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba01a",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 90.896,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63556,
    "c": 0.17295,
    "h": 134.1
  },
  "luminance": 0.2744
}

Semantic roles & 50–950 ramp

primary
#5BA01A
secondary
#8D50C5
accent
#39EF97
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA01A

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

Preview Lab → · Contrast checker → · Palette generator →

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