#5B8323#5B8323

#5B8323 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.131 H 129.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5B8323
RGBrgb(91, 131, 35)
HSLhsl(85, 58%, 33%)
HSVhsv(85, 73%, 51%)
CMYKcmyk(30.5%, 0%, 73.3%, 48.6%)
CIE-LABlab(50.19, -29.45, 44.95)
CIE-LCHlch(50.19, 53.74, 123.24°)
OKLaboklab(56.06% -0.0837 0.1011)
OKLCHoklch(56.06% 0.131 129.6)
XYZxyz(12.7340, 18.5777, 4.5047)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8323 #4B2383
analogous
#837B23 #5B8323 #2B8323
triadic
#5B8323 #235B83 #83235B
tetradic
#5B8323 #23837B #4B2383 #83232B
square
#5B8323 #23837B #4B2383 #83232B
split-complementary
#5B8323 #232B83 #7B2383
monochromatic
#182209 #395316 #5B8323 #7DB330 #9BD050

Accessibility & contrast

On white

4.45
#5B8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5B8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8323
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8323#FFFFFF#000000##000000
##5B83231.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897913
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#5E7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b8323;
/* rgb */ color: rgb(91, 131, 35);
/* oklch */ color: oklch(56.1% 0.131 129.6);
Tailwind
colors: {
  custom: {
    50: '#8da764',
    500: '#5b8323',
    950: '#000000',
  },
}
SCSS
$custom: #5b8323;
$custom-light: #8da764;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8323",
  "rgb": {
    "r": 91,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 85,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.13127,
    "h": 129.6
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#5B8323
secondary
#784EB4
accent
#47E187
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5B8323

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

Preview Lab → · Contrast checker → · Palette generator →

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