#5BA22C#5BA22C

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

Color values

HEX#5BA22C
RGBrgb(91, 162, 44)
HSLhsl(96, 57%, 40%)
HSVhsv(96, 73%, 64%)
CMYKcmyk(43.8%, 0%, 72.8%, 36.5%)
CIE-LABlab(60.11, -42.59, 51.48)
CIE-LCHlch(60.11, 66.81, 129.60°)
OKLaboklab(64.19% -0.1187 0.1161)
OKLCHoklch(64.19% 0.166 135.6)
XYZxyz(17.6889, 28.2456, 6.9023)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA22C #732CA2
analogous
#96A22C #5BA22C #2CA238
triadic
#5BA22C #2C5BA2 #A22C5B
tetradic
#5BA22C #2C96A2 #732CA2 #A2382C
square
#5BA22C #2C96A2 #732CA2 #A2382C
split-complementary
#5BA22C #382CA2 #A22C96
monochromatic
#254212 #40721F #5BA22C #77CB40 #9AD870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA22C#FFFFFF#000000##000000
##5BA22C1.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)
#A89517
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba22c;
/* rgb */ color: rgb(91, 162, 44);
/* oklch */ color: oklch(64.2% 0.166 135.6);
Tailwind
colors: {
  custom: {
    50: '#8fbe6d',
    500: '#5ba22c',
    950: '#000000',
  },
}
SCSS
$custom: #5ba22c;
$custom-light: #8fbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba22c",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 96.102,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.16605,
    "h": 135.6
  },
  "luminance": 0.28247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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