#5BA71F#5BA71F

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

Color values

HEX#5BA71F
RGBrgb(91, 167, 31)
HSLhsl(94, 69%, 39%)
HSVhsv(94, 81%, 65%)
CMYKcmyk(45.5%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.62, -45.43, 57.26)
CIE-LCHlch(61.62, 73.09, 128.43°)
OKLaboklab(65.4% -0.1272 0.1263)
OKLCHoklch(65.4% 0.179 135.2)
XYZxyz(18.3800, 29.9594, 6.1103)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA71F #6B1FA7
analogous
#9FA71F #5BA71F #1FA727
triadic
#5BA71F #1F5BA7 #A71F5B
tetradic
#5BA71F #1F9FA7 #6B1FA7 #A7271F
square
#5BA71F #1F9FA7 #6B1FA7 #A7271F
split-complementary
#5BA71F #271FA7 #A71F9F
monochromatic
#23400C #3F7315 #5BA71F #77D82B #99E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA71F#FFFFFF#000000##000000
##5BA71F1.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: #5ba71f;
/* rgb */ color: rgb(91, 167, 31);
/* oklch */ color: oklch(65.4% 0.179 135.2);
Tailwind
colors: {
  custom: {
    50: '#91c267',
    500: '#5ba71f',
    950: '#000000',
  },
}
SCSS
$custom: #5ba71f;
$custom-light: #91c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba71f",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 93.529,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65402,
    "c": 0.17921,
    "h": 135.2
  },
  "luminance": 0.29961
}

Semantic roles & 50–950 ramp

primary
#5BA71F
secondary
#975CC6
accent
#3CEC9E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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