#5BAC21#5BAC21

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

Color values

HEX#5BAC21
RGBrgb(91, 172, 33)
HSLhsl(95, 68%, 40%)
HSVhsv(95, 81%, 67%)
CMYKcmyk(47.1%, 0%, 80.8%, 32.5%)
CIE-LABlab(63.21, -47.32, 58.14)
CIE-LCHlch(63.21, 74.97, 129.14°)
OKLaboklab(66.71% -0.1321 0.1285)
OKLCHoklch(66.71% 0.184 135.8)
XYZxyz(19.3409, 31.8378, 6.5647)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC21 #7221AC
analogous
#A0AC21 #5BAC21 #21AC2C
triadic
#5BAC21 #215BAC #AC215B
tetradic
#5BAC21 #21A0AC #7221AC #AC2C21
square
#5BAC21 #21A0AC #7221AC #AC2C21
split-complementary
#5BAC21 #2C21AC #AC21A0
monochromatic
#25450D #407917 #5BAC21 #77D832 #99E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAC21#FFFFFF#000000##000000
##5BAC211.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)
#A89731
Tritanopia (blue-blind)
#58A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac21;
/* rgb */ color: rgb(91, 172, 33);
/* oklch */ color: oklch(66.7% 0.184 135.8);
Tailwind
colors: {
  custom: {
    50: '#91c569',
    500: '#5bac21',
    950: '#000000',
  },
}
SCSS
$custom: #5bac21;
$custom-light: #91c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac21",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 94.964,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.18428,
    "h": 135.8
  },
  "luminance": 0.31839
}

Semantic roles & 50–950 ramp

primary
#5BAC21
secondary
#9D62C7
accent
#3DEBA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAC21

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

Preview Lab → · Contrast checker → · Palette generator →

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