#5B9323#5B9323

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

Color values

HEX#5B9323
RGBrgb(91, 147, 35)
HSLhsl(90, 62%, 36%)
HSVhsv(90, 76%, 58%)
CMYKcmyk(38.1%, 0%, 76.2%, 42.4%)
CIE-LABlab(55.29, -36.78, 50.00)
CIE-LCHlch(55.29, 62.06, 126.34°)
OKLaboklab(60.22% -0.1036 0.1117)
OKLCHoklch(60.22% 0.152 132.9)
XYZxyz(15.0513, 23.2123, 5.2771)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9323 #5B2393
analogous
#939323 #5B9323 #239323
triadic
#5B9323 #235B93 #93235B
tetradic
#5B9323 #239393 #5B2393 #932323
square
#5B9323 #239393 #5B2393 #932323
split-complementary
#5B9323 #232393 #932393
monochromatic
#1E300B #3C6217 #5B9323 #7AC42F #98D759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5b9323;
/* rgb */ color: rgb(91, 147, 35);
/* oklch */ color: oklch(60.2% 0.152 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eb366',
    500: '#5b9323',
    950: '#000000',
  },
}
SCSS
$custom: #5b9323;
$custom-light: #8eb366;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9323",
  "rgb": {
    "r": 91,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 90,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60223,
    "c": 0.15233,
    "h": 132.9
  },
  "luminance": 0.23213
}

Semantic roles & 50–950 ramp

primary
#5B9323
secondary
#8956BC
accent
#43E594
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9323

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

Preview Lab → · Contrast checker → · Palette generator →

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