#5BAD21#5BAD21

#5BAD21 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.0% C 0.185 H 135.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5BAD21
RGBrgb(91, 173, 33)
HSLhsl(95, 68%, 40%)
HSVhsv(95, 81%, 68%)
CMYKcmyk(47.4%, 0%, 80.9%, 32.2%)
CIE-LABlab(63.52, -47.72, 58.43)
CIE-LCHlch(63.52, 75.44, 129.24°)
OKLaboklab(66.97% -0.1332 0.1291)
OKLCHoklch(66.97% 0.185 135.9)
XYZxyz(19.5320, 32.2198, 6.6284)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAD21 #7321AD
analogous
#A1AD21 #5BAD21 #21AD2D
triadic
#5BAD21 #215BAD #AD215B
tetradic
#5BAD21 #21A1AD #7321AD #AD2D21
square
#5BAD21 #21A1AD #7321AD #AD2D21
split-complementary
#5BAD21 #2D21AD #AD21A1
monochromatic
#25460D #407A17 #5BAD21 #77D833 #9AE266

Accessibility & contrast

On white

2.82
#5BAD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#5BAD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAD21
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAD21#FFFFFF#000000##000000
##5BAD211.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A99732
Tritanopia (blue-blind)
#58A694
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5bad21;
/* rgb */ color: rgb(91, 173, 33);
/* oklch */ color: oklch(67.0% 0.185 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c669',
    500: '#5bad21',
    950: '#000000',
  },
}
SCSS
$custom: #5bad21;
$custom-light: #91c669;
$custom-dark: #000000;
JSON
{
  "hex": "#5bad21",
  "rgb": {
    "r": 91,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 95.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6697,
    "c": 0.18547,
    "h": 135.9
  },
  "luminance": 0.32221
}

Semantic roles & 50–950 ramp

primary
#5BAD21
secondary
#9E62C7
accent
#3DEBA3
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAD21

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

Preview Lab → · Contrast checker → · Palette generator →

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