#5BA81E#5BA81E

#5BA81E 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#5BA81E
RGBrgb(91, 168, 30)
HSLhsl(93, 70%, 39%)
HSVhsv(93, 82%, 66%)
CMYKcmyk(45.8%, 0%, 82.1%, 34.1%)
CIE-LABlab(61.93, -45.88, 57.82)
CIE-LCHlch(61.93, 73.81, 128.43°)
OKLaboklab(65.66% -0.1284 0.1273)
OKLCHoklch(65.66% 0.181 135.2)
XYZxyz(18.5509, 30.3220, 6.1033)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA81E #6B1EA8
analogous
#A0A81E #5BA81E #1EA826
triadic
#5BA81E #1E5BA8 #A81E5B
tetradic
#5BA81E #1EA0A8 #6B1EA8 #A8261E
square
#5BA81E #1EA0A8 #6B1EA8 #A8261E
split-complementary
#5BA81E #261EA8 #A81EA0
monochromatic
#23400B #3F7415 #5BA81E #77D92A #99E25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA81E#FFFFFF#000000##000000
##5BA81E1.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)
#A4932F
Tritanopia (blue-blind)
#59A18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba81e;
/* rgb */ color: rgb(91, 168, 30);
/* oklch */ color: oklch(65.7% 0.181 135.2);
Tailwind
colors: {
  custom: {
    50: '#91c267',
    500: '#5ba81e',
    950: '#000000',
  },
}
SCSS
$custom: #5ba81e;
$custom-light: #91c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba81e",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 93.478,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65656,
    "c": 0.18085,
    "h": 135.2
  },
  "luminance": 0.30323
}

Semantic roles & 50–950 ramp

primary
#5BA81E
secondary
#975BC7
accent
#3BED9E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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