#5B9322#5B9322

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

Color values

HEX#5B9322
RGBrgb(91, 147, 34)
HSLhsl(90, 62%, 35%)
HSVhsv(90, 77%, 58%)
CMYKcmyk(38.1%, 0%, 76.9%, 42.4%)
CIE-LABlab(55.28, -36.84, 50.34)
CIE-LCHlch(55.28, 62.38, 126.20°)
OKLaboklab(60.22% -0.1038 0.1123)
OKLCHoklch(60.22% 0.153 132.8)
XYZxyz(15.0366, 23.2064, 5.2001)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9322 #5A2293
analogous
#939322 #5B9322 #229322
triadic
#5B9322 #225B93 #93225B
tetradic
#5B9322 #229393 #5A2293 #932222
square
#5B9322 #229393 #5A2293 #932222
split-complementary
#5B9322 #222293 #932293
monochromatic
#1D300B #3C6117 #5B9322 #7AC52D #98D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9322#FFFFFF#000000##000000
##5B93221.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)
#998708
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#5C8D7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b9322;
/* rgb */ color: rgb(91, 147, 34);
/* oklch */ color: oklch(60.2% 0.153 132.8);
Tailwind
colors: {
  custom: {
    50: '#8eb366',
    500: '#5b9322',
    950: '#000000',
  },
}
SCSS
$custom: #5b9322;
$custom-light: #8eb366;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9322",
  "rgb": {
    "r": 91,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 89.735,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.15291,
    "h": 132.8
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#5B9322
secondary
#8855BC
accent
#42E593
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9322

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

Preview Lab → · Contrast checker → · Palette generator →

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