#5BA22A#5BA22A

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

Color values

HEX#5BA22A
RGBrgb(91, 162, 42)
HSLhsl(96, 59%, 40%)
HSVhsv(96, 74%, 64%)
CMYKcmyk(43.8%, 0%, 74.1%, 36.5%)
CIE-LABlab(60.10, -42.73, 52.21)
CIE-LCHlch(60.10, 67.47, 129.30°)
OKLaboklab(64.17% -0.1192 0.1174)
OKLCHoklch(64.17% 0.167 135.4)
XYZxyz(17.6522, 28.2310, 6.7090)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA22A #712AA2
analogous
#97A22A #5BA22A #2AA235
triadic
#5BA22A #2A5BA2 #A22A5B
tetradic
#5BA22A #2A97A2 #712AA2 #A2352A
square
#5BA22A #2A97A2 #712AA2 #A2352A
split-complementary
#5BA22A #352AA2 #A22A97
monochromatic
#244111 #40711D #5BA22A #77CD3D #99D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BA22A#FFFFFF#000000##000000
##5BA22A1.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)
#A89513
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba22a;
/* rgb */ color: rgb(91, 162, 42);
/* oklch */ color: oklch(64.2% 0.167 135.4);
Tailwind
colors: {
  custom: {
    50: '#90be6c',
    500: '#5ba22a',
    950: '#000000',
  },
}
SCSS
$custom: #5ba22a;
$custom-light: #90be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba22a",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 95.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.64172,
    "c": 0.16728,
    "h": 135.4
  },
  "luminance": 0.28232
}

Semantic roles & 50–950 ramp

primary
#5BA22A
secondary
#9C68C0
accent
#46E2A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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