#5BAB1F#5BAB1F

#5BAB1F is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.184 H 135.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5BAB1F
RGBrgb(91, 171, 31)
HSLhsl(94, 69%, 40%)
HSVhsv(94, 82%, 67%)
CMYKcmyk(46.8%, 0%, 81.9%, 32.9%)
CIE-LABlab(62.88, -47.03, 58.41)
CIE-LCHlch(62.88, 74.99, 128.84°)
OKLaboklab(66.44% -0.1315 0.1287)
OKLCHoklch(66.44% 0.184 135.6)
XYZxyz(19.1241, 31.4477, 6.3584)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB1F #6F1FAB
analogous
#A1AB1F #5BAB1F #1FAB29
triadic
#5BAB1F #1F5BAB #AB1F5B
tetradic
#5BAB1F #1FA1AB #6F1FAB #AB291F
square
#5BAB1F #1FA1AB #6F1FAB #AB291F
split-complementary
#5BAB1F #291FAB #AB1FA1
monochromatic
#24430C #3F7716 #5BAB1F #77D92E #99E362

Accessibility & contrast

On white

2.88
#5BAB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5BAB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB1F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB1F#FFFFFF#000000##000000
##5BAB1F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#58A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab1f;
/* rgb */ color: rgb(91, 171, 31);
/* oklch */ color: oklch(66.4% 0.184 135.6);
Tailwind
colors: {
  custom: {
    50: '#91c568',
    500: '#5bab1f',
    950: '#000000',
  },
}
SCSS
$custom: #5bab1f;
$custom-light: #91c568;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab1f",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 94.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.18399,
    "h": 135.6
  },
  "luminance": 0.31449
}

Semantic roles & 50–950 ramp

primary
#5BAB1F
secondary
#9A5EC7
accent
#3CECA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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