#5BA22B#5BA22B

#5BA22B is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.2% C 0.167 H 135.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5BA22B
RGBrgb(91, 162, 43)
HSLhsl(96, 58%, 40%)
HSVhsv(96, 73%, 64%)
CMYKcmyk(43.8%, 0%, 73.5%, 36.5%)
CIE-LABlab(60.10, -42.66, 51.85)
CIE-LCHlch(60.10, 67.14, 129.45°)
OKLaboklab(64.18% -0.1189 0.1168)
OKLCHoklch(64.18% 0.167 135.5)
XYZxyz(17.6703, 28.2382, 6.8045)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA22B #722BA2
analogous
#97A22B #5BA22B #2BA236
triadic
#5BA22B #2B5BA2 #A22B5B
tetradic
#5BA22B #2B97A2 #722BA2 #A2362B
square
#5BA22B #2B97A2 #722BA2 #A2362B
split-complementary
#5BA22B #362BA2 #A22B97
monochromatic
#254111 #40721E #5BA22B #77CC3E #99D96F

Accessibility & contrast

On white

3.16
#5BA22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5BA22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA22B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA22B#FFFFFF#000000##000000
##5BA22B1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89515
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba22b;
/* rgb */ color: rgb(91, 162, 43);
/* oklch */ color: oklch(64.2% 0.167 135.5);
Tailwind
colors: {
  custom: {
    50: '#8fbe6c',
    500: '#5ba22b',
    950: '#000000',
  },
}
SCSS
$custom: #5ba22b;
$custom-light: #8fbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba22b",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 95.798,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64179,
    "c": 0.16667,
    "h": 135.5
  },
  "luminance": 0.28239
}

Semantic roles & 50–950 ramp

primary
#5BA22B
secondary
#9D69C0
accent
#47E1A3
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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