#5B9920#5B9920

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

Color values

HEX#5B9920
RGBrgb(91, 153, 32)
HSLhsl(91, 65%, 36%)
HSVhsv(91, 79%, 60%)
CMYKcmyk(40.5%, 0%, 79.1%, 40%)
CIE-LABlab(57.18, -39.56, 52.82)
CIE-LCHlch(57.18, 66.00, 126.83°)
OKLaboklab(61.77% -0.1113 0.1171)
OKLCHoklch(61.77% 0.162 133.5)
XYZxyz(15.9661, 25.1101, 5.3717)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9920 #5E2099
analogous
#989920 #5B9920 #209922
triadic
#5B9920 #205B99 #99205B
tetradic
#5B9920 #209899 #5E2099 #992220
square
#5B9920 #209899 #5E2099 #992220
split-complementary
#5B9920 #222099 #992098
monochromatic
#1F340B #3D6615 #5B9920 #79CC2B #98DC57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9920#FFFFFF#000000##000000
##5B99201.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)
#9F8C00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#5B9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9920;
/* rgb */ color: rgb(91, 153, 32);
/* oklch */ color: oklch(61.8% 0.162 133.5);
Tailwind
colors: {
  custom: {
    50: '#8fb766',
    500: '#5b9920',
    950: '#000000',
  },
}
SCSS
$custom: #5b9920;
$custom-light: #8fb766;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9920",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 90.744,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.1616,
    "h": 133.5
  },
  "luminance": 0.25111
}

Semantic roles & 50–950 ramp

primary
#5B9920
secondary
#8C55C0
accent
#3FE896
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9920

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

Preview Lab → · Contrast checker → · Palette generator →

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