#5B9924#5B9924

#5B9924 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.8% C 0.159 H 133.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5B9924
RGBrgb(91, 153, 36)
HSLhsl(92, 62%, 37%)
HSVhsv(92, 76%, 60%)
CMYKcmyk(40.5%, 0%, 76.5%, 40%)
CIE-LABlab(57.20, -39.32, 51.51)
CIE-LCHlch(57.20, 64.80, 127.36°)
OKLaboklab(61.79% -0.1104 0.115)
OKLCHoklch(61.79% 0.159 133.8)
XYZxyz(16.0238, 25.1332, 5.6756)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9924 #622499
analogous
#969924 #5B9924 #249928
triadic
#5B9924 #245B99 #99245B
tetradic
#5B9924 #249699 #622499 #992824
square
#5B9924 #249699 #622499 #992824
split-complementary
#5B9924 #282499 #992496
monochromatic
#20360D #3E6718 #5B9924 #78CB30 #98D95E

Accessibility & contrast

On white

3.48
#5B9924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5B9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9924
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9924#FFFFFF#000000##000000
##5B99241.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C09
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#5B9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9924;
/* rgb */ color: rgb(91, 153, 36);
/* oklch */ color: oklch(61.8% 0.159 133.8);
Tailwind
colors: {
  custom: {
    50: '#8fb768',
    500: '#5b9924',
    950: '#000000',
  },
}
SCSS
$custom: #5b9924;
$custom-light: #8fb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9924",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 91.795,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61791,
    "c": 0.15942,
    "h": 133.8
  },
  "luminance": 0.25134
}

Semantic roles & 50–950 ramp

primary
#5B9924
secondary
#8F5BBE
accent
#43E599
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9924

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

Preview Lab → · Contrast checker → · Palette generator →

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