#5B9320#5B9320

#5B9320 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.2% C 0.154 H 132.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5B9320
RGBrgb(91, 147, 32)
HSLhsl(89, 64%, 35%)
HSVhsv(89, 78%, 58%)
CMYKcmyk(38.1%, 0%, 78.2%, 42.4%)
CIE-LABlab(55.27, -36.96, 51.01)
CIE-LCHlch(55.27, 62.99, 125.92°)
OKLaboklab(60.2% -0.1043 0.1133)
OKLCHoklch(60.2% 0.154 132.6)
XYZxyz(15.0086, 23.1952, 5.0525)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9320 #582093
analogous
#939120 #5B9320 #229320
triadic
#5B9320 #205B93 #93205B
tetradic
#5B9320 #209391 #582093 #932022
square
#5B9320 #209391 #582093 #932022
split-complementary
#5B9320 #202293 #912093
monochromatic
#1D2E0A #3C6115 #5B9320 #7AC52B #98DA54

Accessibility & contrast

On white

3.72
#5B9320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5B9320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9320
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9320#FFFFFF#000000##000000
##5B93201.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#5C8D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b9320;
/* rgb */ color: rgb(91, 147, 32);
/* oklch */ color: oklch(60.2% 0.154 132.6);
Tailwind
colors: {
  custom: {
    50: '#8eb365',
    500: '#5b9320',
    950: '#000000',
  },
}
SCSS
$custom: #5b9320;
$custom-light: #8eb365;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9320",
  "rgb": {
    "r": 91,
    "g": 147,
    "b": 32
  },
  "hsl": {
    "h": 89.217,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.15403,
    "h": 132.6
  },
  "luminance": 0.23196
}

Semantic roles & 50–950 ramp

primary
#5B9320
secondary
#8652BD
accent
#41E792
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9320

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

Preview Lab → · Contrast checker → · Palette generator →

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