#5B9524#5B9524

#5B9524 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.8% C 0.154 H 133.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B9524
RGBrgb(91, 149, 36)
HSLhsl(91, 61%, 36%)
HSVhsv(91, 76%, 58%)
CMYKcmyk(38.9%, 0%, 75.8%, 41.6%)
CIE-LABlab(55.93, -37.59, 50.27)
CIE-LCHlch(55.93, 62.77, 126.79°)
OKLaboklab(60.75% -0.1057 0.1124)
OKLCHoklch(60.75% 0.154 133.2)
XYZxyz(15.3800, 23.8457, 5.4610)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9524 #5E2495
analogous
#949524 #5B9524 #249525
triadic
#5B9524 #245B95 #95245B
tetradic
#5B9524 #249495 #5E2495 #952524
square
#5B9524 #249495 #5E2495 #952524
split-complementary
#5B9524 #252495 #952494
monochromatic
#1F320C #3D6418 #5B9524 #79C630 #98D85C

Accessibility & contrast

On white

3.64
#5B9524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5B9524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9524
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9524#FFFFFF#000000##000000
##5B95241.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890C
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#5B8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9524;
/* rgb */ color: rgb(91, 149, 36);
/* oklch */ color: oklch(60.8% 0.154 133.2);
Tailwind
colors: {
  custom: {
    50: '#8eb467',
    500: '#5b9524',
    950: '#000000',
  },
}
SCSS
$custom: #5b9524;
$custom-light: #8eb467;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9524",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 90.796,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6075,
    "c": 0.15431,
    "h": 133.2
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#5B9524
secondary
#8C59BC
accent
#44E496
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9524

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

Preview Lab → · Contrast checker → · Palette generator →

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