#5B9526#5B9526

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

Color values

HEX#5B9526
RGBrgb(91, 149, 38)
HSLhsl(91, 59%, 37%)
HSVhsv(91, 74%, 58%)
CMYKcmyk(38.9%, 0%, 74.5%, 41.6%)
CIE-LABlab(55.95, -37.46, 49.55)
CIE-LCHlch(55.95, 62.12, 127.09°)
OKLaboklab(60.76% -0.1052 0.1112)
OKLCHoklch(60.76% 0.153 133.4)
XYZxyz(15.4114, 23.8583, 5.6264)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9526 #602695
analogous
#939526 #5B9526 #269528
triadic
#5B9526 #265B95 #95265B
tetradic
#5B9526 #269395 #602695 #952826
square
#5B9526 #269395 #602695 #952826
split-complementary
#5B9526 #282695 #952693
monochromatic
#1F330D #3D641A #5B9526 #79C632 #98D65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9526#FFFFFF#000000##000000
##5B95261.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)
#9B8911
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#5B8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9526;
/* rgb */ color: rgb(91, 149, 38);
/* oklch */ color: oklch(60.8% 0.153 133.4);
Tailwind
colors: {
  custom: {
    50: '#8eb468',
    500: '#5b9526',
    950: '#000000',
  },
}
SCSS
$custom: #5b9526;
$custom-light: #8eb468;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9526",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 91.351,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.1531,
    "h": 133.4
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

primary
#5B9526
secondary
#8E5BBB
accent
#45E397
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9526

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

Preview Lab → · Contrast checker → · Palette generator →

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