#5B9528#5B9528

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

Color values

HEX#5B9528
RGBrgb(91, 149, 40)
HSLhsl(92, 58%, 37%)
HSVhsv(92, 73%, 58%)
CMYKcmyk(38.9%, 0%, 73.2%, 41.6%)
CIE-LABlab(55.96, -37.32, 48.81)
CIE-LCHlch(55.96, 61.44, 127.40°)
OKLaboklab(60.78% -0.1047 0.11)
OKLCHoklch(60.78% 0.152 133.6)
XYZxyz(15.4446, 23.8715, 5.8010)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9528 #622895
analogous
#929528 #5B9528 #28952C
triadic
#5B9528 #285B95 #95285B
tetradic
#5B9528 #289295 #622895 #952C28
square
#5B9528 #289295 #622895 #952C28
split-complementary
#5B9528 #2C2895 #952892
monochromatic
#20350E #3E651B #5B9528 #78C535 #98D562

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9528#FFFFFF#000000##000000
##5B95281.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)
#9B8915
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#5B8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9528;
/* rgb */ color: rgb(91, 149, 40);
/* oklch */ color: oklch(60.8% 0.152 133.6);
Tailwind
colors: {
  custom: {
    50: '#8eb469',
    500: '#5b9528',
    950: '#000000',
  },
}
SCSS
$custom: #5b9528;
$custom-light: #8eb469;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9528",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 91.927,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.15184,
    "h": 133.6
  },
  "luminance": 0.23872
}

Semantic roles & 50–950 ramp

primary
#5B9528
secondary
#8F5EBB
accent
#47E199
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9528

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

Preview Lab → · Contrast checker → · Palette generator →

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