#5B9922#5B9922

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

Color values

HEX#5B9922
RGBrgb(91, 153, 34)
HSLhsl(91, 64%, 37%)
HSVhsv(91, 78%, 60%)
CMYKcmyk(40.5%, 0%, 77.8%, 40%)
CIE-LABlab(57.19, -39.45, 52.18)
CIE-LCHlch(57.19, 65.41, 127.09°)
OKLaboklab(61.78% -0.1109 0.1161)
OKLCHoklch(61.78% 0.161 133.7)
XYZxyz(15.9941, 25.1213, 5.5192)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9922 #602299
analogous
#979922 #5B9922 #229925
triadic
#5B9922 #225B99 #99225B
tetradic
#5B9922 #229799 #602299 #992522
square
#5B9922 #229799 #602299 #992522
split-complementary
#5B9922 #252299 #992297
monochromatic
#1F350C #3D6717 #5B9922 #79CB2D #98DB5B

Accessibility & contrast

On white

3.49
#5B9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5B9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9922
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9922#FFFFFF#000000##000000
##5B99221.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C04
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#5B9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9922;
/* rgb */ color: rgb(91, 153, 34);
/* oklch */ color: oklch(61.8% 0.161 133.7);
Tailwind
colors: {
  custom: {
    50: '#8fb767',
    500: '#5b9922',
    950: '#000000',
  },
}
SCSS
$custom: #5b9922;
$custom-light: #8fb767;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9922",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 91.261,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.16053,
    "h": 133.7
  },
  "luminance": 0.25122
}

Semantic roles & 50–950 ramp

primary
#5B9922
secondary
#8E58BF
accent
#41E797
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9922

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

Preview Lab → · Contrast checker → · Palette generator →

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