#5BA81D#5BA81D

#5BA81D is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.7% C 0.181 H 135.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5BA81D
RGBrgb(91, 168, 29)
HSLhsl(93, 71%, 39%)
HSVhsv(93, 83%, 66%)
CMYKcmyk(45.8%, 0%, 82.7%, 34.1%)
CIE-LABlab(61.93, -45.92, 58.09)
CIE-LCHlch(61.93, 74.05, 128.33°)
OKLaboklab(65.65% -0.1286 0.1278)
OKLCHoklch(65.65% 0.181 135.2)
XYZxyz(18.5384, 30.3170, 6.0371)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA81D #6A1DA8
analogous
#A0A81D #5BA81D #1DA824
triadic
#5BA81D #1D5BA8 #A81D5B
tetradic
#5BA81D #1DA0A8 #6A1DA8 #A8241D
square
#5BA81D #1DA0A8 #6A1DA8 #A8241D
split-complementary
#5BA81D #241DA8 #A81DA0
monochromatic
#22400B #3F7414 #5BA81D #78DA28 #98E35C

Accessibility & contrast

On white

2.97
#5BA81D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5BA81D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA81D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA81D#FFFFFF#000000##000000
##5BA81D1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#59A18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba81d;
/* rgb */ color: rgb(91, 168, 29);
/* oklch */ color: oklch(65.7% 0.181 135.2);
Tailwind
colors: {
  custom: {
    50: '#91c267',
    500: '#5ba81d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba81d;
$custom-light: #91c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba81d",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 93.237,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65652,
    "c": 0.18127,
    "h": 135.2
  },
  "luminance": 0.30318
}

Semantic roles & 50–950 ramp

primary
#5BA81D
secondary
#965AC7
accent
#3AED9E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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