#5BAC22#5BAC22

#5BAC22 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.184 H 135.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5BAC22
RGBrgb(91, 172, 34)
HSLhsl(95, 67%, 40%)
HSVhsv(95, 80%, 67%)
CMYKcmyk(47.1%, 0%, 80.2%, 32.5%)
CIE-LABlab(63.21, -47.27, 57.85)
CIE-LCHlch(63.21, 74.71, 129.25°)
OKLaboklab(66.72% -0.1319 0.128)
OKLCHoklch(66.72% 0.184 135.9)
XYZxyz(19.3551, 31.8434, 6.6396)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC22 #7322AC
analogous
#A0AC22 #5BAC22 #22AC2E
triadic
#5BAC22 #225BAC #AC225B
tetradic
#5BAC22 #22A0AC #7322AC #AC2E22
square
#5BAC22 #22A0AC #7322AC #AC2E22
split-complementary
#5BAC22 #2E22AC #AC22A0
monochromatic
#25460E #407918 #5BAC22 #77D734 #9AE167

Accessibility & contrast

On white

2.85
#5BAC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5BAC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC22
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC22#FFFFFF#000000##000000
##5BAC221.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#58A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac22;
/* rgb */ color: rgb(91, 172, 34);
/* oklch */ color: oklch(66.7% 0.184 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c569',
    500: '#5bac22',
    950: '#000000',
  },
}
SCSS
$custom: #5bac22;
$custom-light: #91c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac22",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 95.217,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66716,
    "c": 0.18382,
    "h": 135.9
  },
  "luminance": 0.31845
}

Semantic roles & 50–950 ramp

primary
#5BAC22
secondary
#9E63C7
accent
#3EEAA3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAC22

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

Preview Lab → · Contrast checker → · Palette generator →

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