#5BAB22#5BAB22

#5BAB22 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.183 H 135.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5BAB22
RGBrgb(91, 171, 34)
HSLhsl(95, 67%, 40%)
HSVhsv(95, 80%, 67%)
CMYKcmyk(46.8%, 0%, 80.1%, 32.9%)
CIE-LABlab(62.90, -46.88, 57.56)
CIE-LCHlch(62.90, 74.23, 129.16°)
OKLaboklab(66.46% -0.1309 0.1274)
OKLCHoklch(66.46% 0.183 135.8)
XYZxyz(19.1655, 31.4642, 6.5764)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB22 #7222AB
analogous
#A0AB22 #5BAB22 #22AB2D
triadic
#5BAB22 #225BAB #AB225B
tetradic
#5BAB22 #22A0AB #7222AB #AB2D22
square
#5BAB22 #22A0AB #7222AB #AB2D22
split-complementary
#5BAB22 #2D22AB #AB22A0
monochromatic
#25450E #407818 #5BAB22 #77D734 #99E167

Accessibility & contrast

On white

2.88
#5BAB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5BAB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB22
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB22#FFFFFF#000000##000000
##5BAB221.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#58A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab22;
/* rgb */ color: rgb(91, 171, 34);
/* oklch */ color: oklch(66.5% 0.183 135.8);
Tailwind
colors: {
  custom: {
    50: '#91c569',
    500: '#5bab22',
    950: '#000000',
  },
}
SCSS
$custom: #5bab22;
$custom-light: #91c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab22",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 95.036,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.18263,
    "h": 135.8
  },
  "luminance": 0.31465
}

Semantic roles & 50–950 ramp

primary
#5BAB22
secondary
#9D63C6
accent
#3EEAA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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