#5BAA22#5BAA22

#5BAA22 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.181 H 135.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5BAA22
RGBrgb(91, 170, 34)
HSLhsl(95, 67%, 40%)
HSVhsv(95, 80%, 67%)
CMYKcmyk(46.5%, 0%, 80%, 33.3%)
CIE-LABlab(62.58, -46.48, 57.27)
CIE-LCHlch(62.58, 73.75, 129.06°)
OKLaboklab(66.2% -0.1298 0.1268)
OKLCHoklch(66.2% 0.181 135.7)
XYZxyz(18.9774, 31.0879, 6.5137)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA22 #7122AA
analogous
#9FAA22 #5BAA22 #22AA2D
triadic
#5BAA22 #225BAA #AA225B
tetradic
#5BAA22 #229FAA #7122AA #AA2D22
square
#5BAA22 #229FAA #7122AA #AA2D22
split-complementary
#5BAA22 #2D22AA #AA229F
monochromatic
#24440E #407718 #5BAA22 #77D633 #99E066

Accessibility & contrast

On white

2.91
#5BAA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5BAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA22
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA22#FFFFFF#000000##000000
##5BAA221.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa22;
/* rgb */ color: rgb(91, 170, 34);
/* oklch */ color: oklch(66.2% 0.181 135.7);
Tailwind
colors: {
  custom: {
    50: '#91c469',
    500: '#5baa22',
    950: '#000000',
  },
}
SCSS
$custom: #5baa22;
$custom-light: #91c469;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa22",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 94.853,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.66197,
    "c": 0.18143,
    "h": 135.7
  },
  "luminance": 0.31089
}

Semantic roles & 50–950 ramp

primary
#5BAA22
secondary
#9C62C6
accent
#3EEAA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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