#5BA01F#5BA01F

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

Color values

HEX#5BA01F
RGBrgb(91, 160, 31)
HSLhsl(92, 68%, 37%)
HSVhsv(92, 81%, 63%)
CMYKcmyk(43.1%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.40, -42.56, 55.21)
CIE-LCHlch(59.40, 69.71, 127.63°)
OKLaboklab(63.58% -0.1195 0.122)
OKLCHoklch(63.58% 0.171 134.4)
XYZxyz(17.1322, 27.4637, 5.6944)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA01F #641FA0
analogous
#9BA01F #5BA01F #1FA024
triadic
#5BA01F #1F5BA0 #A01F5B
tetradic
#5BA01F #1F9BA0 #641FA0 #A0241F
square
#5BA01F #1F9BA0 #641FA0 #A0241F
split-complementary
#5BA01F #241FA0 #A01F9B
monochromatic
#21390B #3E6D15 #5BA01F #78D329 #98DF5A

Accessibility & contrast

On white

3.23
#5BA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA01F#FFFFFF#000000##000000
##5BA01F1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#5A9A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba01f;
/* rgb */ color: rgb(91, 160, 31);
/* oklch */ color: oklch(63.6% 0.171 134.4);
Tailwind
colors: {
  custom: {
    50: '#90bc66',
    500: '#5ba01f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba01f;
$custom-light: #90bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba01f",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 92.093,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.17075,
    "h": 134.4
  },
  "luminance": 0.27465
}

Semantic roles & 50–950 ramp

primary
#5BA01F
secondary
#9158C3
accent
#3DEA9A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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