#5BA822#5BA822

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

Color values

HEX#5BA822
RGBrgb(91, 168, 34)
HSLhsl(94, 66%, 40%)
HSVhsv(94, 80%, 66%)
CMYKcmyk(45.8%, 0%, 79.8%, 34.1%)
CIE-LABlab(61.95, -45.68, 56.68)
CIE-LCHlch(61.95, 72.79, 128.87°)
OKLaboklab(65.68% -0.1277 0.1255)
OKLCHoklch(65.68% 0.179 135.5)
XYZxyz(18.6053, 30.3438, 6.3896)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA822 #6F22A8
analogous
#9EA822 #5BA822 #22A82C
triadic
#5BA822 #225BA8 #A8225B
tetradic
#5BA822 #229EA8 #6F22A8 #A82C22
square
#5BA822 #229EA8 #6F22A8 #A82C22
split-complementary
#5BA822 #2C22A8 #A8229E
monochromatic
#24420D #3F7518 #5BA822 #77D532 #99E065

Accessibility & contrast

On white

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

On black

7.07
#5BA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA822
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA822#FFFFFF#000000##000000
##5BA8221.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ba822;
/* rgb */ color: rgb(91, 168, 34);
/* oklch */ color: oklch(65.7% 0.179 135.5);
Tailwind
colors: {
  custom: {
    50: '#91c269',
    500: '#5ba822',
    950: '#000000',
  },
}
SCSS
$custom: #5ba822;
$custom-light: #91c269;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba822",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 94.478,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65678,
    "c": 0.17902,
    "h": 135.5
  },
  "luminance": 0.30345
}

Semantic roles & 50–950 ramp

primary
#5BA822
secondary
#9A61C5
accent
#3FE9A1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA822

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

Preview Lab → · Contrast checker → · Palette generator →

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