#5BA71D#5BA71D

#5BA71D is a light, vivid yellow-green. Relative luminance 0.299; 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#5BA71D
RGBrgb(91, 167, 29)
HSLhsl(93, 70%, 38%)
HSVhsv(93, 83%, 65%)
CMYKcmyk(45.5%, 0%, 82.6%, 34.5%)
CIE-LABlab(61.61, -45.52, 57.81)
CIE-LCHlch(61.61, 73.58, 128.22°)
OKLaboklab(65.39% -0.1275 0.1272)
OKLCHoklch(65.39% 0.18 135.1)
XYZxyz(18.3545, 29.9492, 5.9758)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA71D #691DA7
analogous
#A0A71D #5BA71D #1DA724
triadic
#5BA71D #1D5BA7 #A71D5B
tetradic
#5BA71D #1DA0A7 #691DA7 #A7241D
square
#5BA71D #1DA0A7 #691DA7 #A7241D
split-complementary
#5BA71D #241DA7 #A71DA0
monochromatic
#223F0B #3F7314 #5BA71D #78DA28 #98E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5ba71d;
/* rgb */ color: rgb(91, 167, 29);
/* oklch */ color: oklch(65.4% 0.180 135.1);
Tailwind
colors: {
  custom: {
    50: '#91c267',
    500: '#5ba71d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba71d;
$custom-light: #91c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba71d",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 93.043,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65392,
    "c": 0.18009,
    "h": 135.1
  },
  "luminance": 0.2995
}

Semantic roles & 50–950 ramp

primary
#5BA71D
secondary
#9559C7
accent
#3BED9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA71D

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

Preview Lab → · Contrast checker → · Palette generator →

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