#5BA71E#5BA71E

#5BA71E is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.4% C 0.180 H 135.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5BA71E
RGBrgb(91, 167, 30)
HSLhsl(93, 70%, 39%)
HSVhsv(93, 82%, 65%)
CMYKcmyk(45.5%, 0%, 82%, 34.5%)
CIE-LABlab(61.61, -45.48, 57.53)
CIE-LCHlch(61.61, 73.34, 128.32°)
OKLaboklab(65.4% -0.1273 0.1267)
OKLCHoklch(65.4% 0.18 135.1)
XYZxyz(18.3670, 29.9542, 6.0420)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA71E #6A1EA7
analogous
#9FA71E #5BA71E #1EA726
triadic
#5BA71E #1E5BA7 #A71E5B
tetradic
#5BA71E #1E9FA7 #6A1EA7 #A7261E
square
#5BA71E #1E9FA7 #6A1EA7 #A7261E
split-complementary
#5BA71E #261EA7 #A71E9F
monochromatic
#223F0B #3F7315 #5BA71E #78D92A #98E25D

Accessibility & contrast

On white

3.00
#5BA71E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5BA71E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA71E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA71E#FFFFFF#000000##000000
##5BA71E1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A3932F
Tritanopia (blue-blind)
#59A08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba71e;
/* rgb */ color: rgb(91, 167, 30);
/* oklch */ color: oklch(65.4% 0.180 135.1);
Tailwind
colors: {
  custom: {
    50: '#91c267',
    500: '#5ba71e',
    950: '#000000',
  },
}
SCSS
$custom: #5ba71e;
$custom-light: #91c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba71e",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 93.285,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65397,
    "c": 0.17966,
    "h": 135.1
  },
  "luminance": 0.29955
}

Semantic roles & 50–950 ramp

primary
#5BA71E
secondary
#965BC6
accent
#3BEC9E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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