#5BA91F#5BA91F

#5BA91F is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 65.9% C 0.182 H 135.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5BA91F
RGBrgb(91, 169, 31)
HSLhsl(94, 69%, 39%)
HSVhsv(94, 82%, 66%)
CMYKcmyk(46.2%, 0%, 81.7%, 33.7%)
CIE-LABlab(62.25, -46.23, 57.83)
CIE-LCHlch(62.25, 74.04, 128.64°)
OKLaboklab(65.92% -0.1293 0.1275)
OKLCHoklch(65.92% 0.182 135.4)
XYZxyz(18.7492, 30.6978, 6.2334)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA91F #6D1FA9
analogous
#A0A91F #5BA91F #1FA928
triadic
#5BA91F #1F5BA9 #A91F5B
tetradic
#5BA91F #1FA0A9 #6D1FA9 #A9281F
square
#5BA91F #1FA0A9 #6D1FA9 #A9281F
split-complementary
#5BA91F #281FA9 #A91FA0
monochromatic
#23420C #3F7516 #5BA91F #77D82D #99E260

Accessibility & contrast

On white

2.94
#5BA91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5BA91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA91F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA91F#FFFFFF#000000##000000
##5BA91F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba91f;
/* rgb */ color: rgb(91, 169, 31);
/* oklch */ color: oklch(65.9% 0.182 135.4);
Tailwind
colors: {
  custom: {
    50: '#91c368',
    500: '#5ba91f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba91f;
$custom-light: #91c368;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba91f",
  "rgb": {
    "r": 91,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 93.913,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65921,
    "c": 0.1816,
    "h": 135.4
  },
  "luminance": 0.30699
}

Semantic roles & 50–950 ramp

primary
#5BA91F
secondary
#995DC7
accent
#3CEC9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA91F

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

Preview Lab → · Contrast checker → · Palette generator →

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