#5BA82B#5BA82B

#5BA82B is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.174 H 136.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5BA82B
RGBrgb(91, 168, 43)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 74%, 66%)
CMYKcmyk(45.8%, 0%, 74.4%, 34.1%)
CIE-LABlab(62.00, -45.13, 53.74)
CIE-LCHlch(62.00, 70.17, 130.02°)
OKLaboklab(65.74% -0.1256 0.1207)
OKLCHoklch(65.74% 0.174 136.1)
XYZxyz(18.7526, 30.4027, 7.1652)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA82B #782BA8
analogous
#9AA82B #5BA82B #2BA83A
triadic
#5BA82B #2B5BA8 #A82B5B
tetradic
#5BA82B #2B9AA8 #782BA8 #A83A2B
square
#5BA82B #2B9AA8 #782BA8 #A83A2B
split-complementary
#5BA82B #3A2BA8 #A82B9A
monochromatic
#264712 #41771F #5BA82B #78CF42 #9BDB72

Accessibility & contrast

On white

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

On black

7.08
#5BA82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA82B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA82B#FFFFFF#000000##000000
##5BA82B1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#A49338
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba82b;
/* rgb */ color: rgb(91, 168, 43);
/* oklch */ color: oklch(65.7% 0.174 136.1);
Tailwind
colors: {
  custom: {
    50: '#90c26d',
    500: '#5ba82b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba82b;
$custom-light: #90c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba82b",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 96.96,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65735,
    "c": 0.1742,
    "h": 136.1
  },
  "luminance": 0.30404
}

Semantic roles & 50–950 ramp

primary
#5BA82B
secondary
#A16CC2
accent
#45E2A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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