#5BA71C#5BA71C

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

Color values

HEX#5BA71C
RGBrgb(91, 167, 28)
HSLhsl(93, 71%, 38%)
HSVhsv(93, 83%, 65%)
CMYKcmyk(45.5%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.61, -45.57, 58.07)
CIE-LCHlch(61.61, 73.82, 128.12°)
OKLaboklab(65.39% -0.1277 0.1276)
OKLCHoklch(65.39% 0.181 135)
XYZxyz(18.3423, 29.9443, 5.9117)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA71C #681CA7
analogous
#A0A71C #5BA71C #1CA723
triadic
#5BA71C #1C5BA7 #A71C5B
tetradic
#5BA71C #1CA0A7 #681CA7 #A7231C
square
#5BA71C #1CA0A7 #681CA7 #A7231C
split-complementary
#5BA71C #231CA7 #A71CA0
monochromatic
#223E0A #3E7313 #5BA71C #78DB26 #98E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA71C#FFFFFF#000000##000000
##5BA71C1.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)
#A3932D
Tritanopia (blue-blind)
#59A08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba71c;
/* rgb */ color: rgb(91, 167, 28);
/* oklch */ color: oklch(65.4% 0.180 135.0);
Tailwind
colors: {
  custom: {
    50: '#91c266',
    500: '#5ba71c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba71c;
$custom-light: #91c266;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba71c",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 92.806,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65387,
    "c": 0.1805,
    "h": 135
  },
  "luminance": 0.29945
}

Semantic roles & 50–950 ramp

primary
#5BA71C
secondary
#9558C7
accent
#3AEE9C
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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