#5B8324#5B8324

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

Color values

HEX#5B8324
RGBrgb(91, 131, 36)
HSLhsl(85, 57%, 33%)
HSVhsv(85, 73%, 51%)
CMYKcmyk(30.5%, 0%, 72.5%, 48.6%)
CIE-LABlab(50.20, -29.38, 44.56)
CIE-LCHlch(50.20, 53.37, 123.40°)
OKLaboklab(56.07% -0.0834 0.1005)
OKLCHoklch(56.07% 0.131 129.7)
XYZxyz(12.7491, 18.5838, 4.5840)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8324 #4C2483
analogous
#837B24 #5B8324 #2C8324
triadic
#5B8324 #245B83 #83245B
tetradic
#5B8324 #24837B #4C2483 #83242C
square
#5B8324 #24837B #4C2483 #83242C
split-complementary
#5B8324 #242C83 #7B2483
monochromatic
#18230A #3A5317 #5B8324 #7CB331 #9BCF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8324#FFFFFF#000000##000000
##5B83241.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)
#897914
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#5E7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b8324;
/* rgb */ color: rgb(91, 131, 36);
/* oklch */ color: oklch(56.1% 0.131 129.7);
Tailwind
colors: {
  custom: {
    50: '#8da765',
    500: '#5b8324',
    950: '#000000',
  },
}
SCSS
$custom: #5b8324;
$custom-light: #8da765;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8324",
  "rgb": {
    "r": 91,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 85.263,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.13058,
    "h": 129.7
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#5B8324
secondary
#7A4FB3
accent
#48E088
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5B8324

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

Preview Lab → · Contrast checker → · Palette generator →

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