#5BAA1B#5BAA1B

#5BAA1B is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.184 H 135.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5BAA1B
RGBrgb(91, 170, 27)
HSLhsl(93, 73%, 39%)
HSVhsv(93, 84%, 67%)
CMYKcmyk(46.5%, 0%, 84.1%, 33.3%)
CIE-LABlab(62.55, -46.81, 59.18)
CIE-LCHlch(62.55, 75.45, 128.35°)
OKLaboklab(66.16% -0.1311 0.1298)
OKLCHoklch(66.16% 0.184 135.3)
XYZxyz(18.8865, 31.0515, 6.0351)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA1B #6A1BAA
analogous
#A2AA1B #5BAA1B #1BAA22
triadic
#5BAA1B #1B5BAA #AA1B5B
tetradic
#5BAA1B #1BA2AA #6A1BAA #AA221B
square
#5BAA1B #1BA2AA #6A1BAA #AA221B
split-complementary
#5BAA1B #221BAA #AA1BA2
monochromatic
#22400A #3F7513 #5BAA1B #78DC26 #98E55B

Accessibility & contrast

On white

2.91
#5BAA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5BAA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA1B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA1B#FFFFFF#000000##000000
##5BAA1B1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa1b;
/* rgb */ color: rgb(91, 170, 27);
/* oklch */ color: oklch(66.2% 0.184 135.3);
Tailwind
colors: {
  custom: {
    50: '#91c466',
    500: '#5baa1b',
    950: '#000000',
  },
}
SCSS
$custom: #5baa1b;
$custom-light: #91c466;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa1b",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 93.147,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66162,
    "c": 0.18444,
    "h": 135.3
  },
  "luminance": 0.31053
}

Semantic roles & 50–950 ramp

primary
#5BAA1B
secondary
#9658C9
accent
#39EF9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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