#5BA82C#5BA82C

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

Color values

HEX#5BA82C
RGBrgb(91, 168, 44)
HSLhsl(97, 58%, 42%)
HSVhsv(97, 74%, 66%)
CMYKcmyk(45.8%, 0%, 73.8%, 34.1%)
CIE-LABlab(62.01, -45.06, 53.38)
CIE-LCHlch(62.01, 69.86, 130.17°)
OKLaboklab(65.74% -0.1253 0.1201)
OKLCHoklch(65.74% 0.174 136.2)
XYZxyz(18.7711, 30.4101, 7.2630)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA82C #792CA8
analogous
#99A82C #5BA82C #2CA83B
triadic
#5BA82C #2C5BA8 #A82C5B
tetradic
#5BA82C #2C99A8 #792CA8 #A83B2C
square
#5BA82C #2C99A8 #792CA8 #A83B2C
split-complementary
#5BA82C #3B2CA8 #A82C99
monochromatic
#264713 #41781F #5BA82C #78CE43 #9BDB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA82C#FFFFFF#000000##000000
##5BA82C1.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)
#AE9A15
Deuteranopia (green-blind)
#A49338
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba82c;
/* rgb */ color: rgb(91, 168, 44);
/* oklch */ color: oklch(65.7% 0.174 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c26e',
    500: '#5ba82c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba82c;
$custom-light: #90c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba82c",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 97.258,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65742,
    "c": 0.17361,
    "h": 136.2
  },
  "luminance": 0.30411
}

Semantic roles & 50–950 ramp

primary
#5BA82C
secondary
#A26EC2
accent
#46E2A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA82C

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

Preview Lab → · Contrast checker → · Palette generator →

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