#5BA01C#5BA01C

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

Color values

HEX#5BA01C
RGBrgb(91, 160, 28)
HSLhsl(91, 70%, 37%)
HSVhsv(91, 83%, 63%)
CMYKcmyk(43.1%, 0%, 82.5%, 37.3%)
CIE-LABlab(59.39, -42.71, 56.07)
CIE-LCHlch(59.39, 70.48, 127.30°)
OKLaboklab(63.57% -0.12 0.1233)
OKLCHoklch(63.57% 0.172 134.2)
XYZxyz(17.0945, 27.4487, 5.4958)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA01C #611CA0
analogous
#9DA01C #5BA01C #1CA01F
triadic
#5BA01C #1C5BA0 #A01C5B
tetradic
#5BA01C #1C9DA0 #611CA0 #A01F1C
square
#5BA01C #1C9DA0 #611CA0 #A01F1C
split-complementary
#5BA01C #1F1CA0 #A01C9D
monochromatic
#20380A #3D6C13 #5BA01C #79D425 #98E155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA01C#FFFFFF#000000##000000
##5BA01C1.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)
#9D8D2C
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba01c;
/* rgb */ color: rgb(91, 160, 28);
/* oklch */ color: oklch(63.6% 0.172 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bc65',
    500: '#5ba01c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba01c;
$custom-light: #90bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba01c",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 91.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63566,
    "c": 0.17211,
    "h": 134.2
  },
  "luminance": 0.2745
}

Semantic roles & 50–950 ramp

primary
#5BA01C
secondary
#8E53C4
accent
#3BED98
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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