#5B9525#5B9525

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

Color values

HEX#5B9525
RGBrgb(91, 149, 37)
HSLhsl(91, 60%, 36%)
HSVhsv(91, 75%, 58%)
CMYKcmyk(38.9%, 0%, 75.2%, 41.6%)
CIE-LABlab(55.94, -37.53, 49.91)
CIE-LCHlch(55.94, 62.45, 126.94°)
OKLaboklab(60.76% -0.1055 0.1118)
OKLCHoklch(60.76% 0.154 133.3)
XYZxyz(15.3955, 23.8519, 5.5426)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9525 #5F2595
analogous
#939525 #5B9525 #259527
triadic
#5B9525 #255B95 #95255B
tetradic
#5B9525 #259395 #5F2595 #952725
square
#5B9525 #259395 #5F2595 #952725
split-complementary
#5B9525 #272595 #952593
monochromatic
#1F330D #3D6419 #5B9525 #79C631 #98D75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9525#FFFFFF#000000##000000
##5B95251.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)
#9B890F
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#5B8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9525;
/* rgb */ color: rgb(91, 149, 37);
/* oklch */ color: oklch(60.8% 0.154 133.3);
Tailwind
colors: {
  custom: {
    50: '#8eb468',
    500: '#5b9525',
    950: '#000000',
  },
}
SCSS
$custom: #5b9525;
$custom-light: #8eb468;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9525",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 91.071,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.15371,
    "h": 133.3
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

primary
#5B9525
secondary
#8D5ABC
accent
#44E397
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9525

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

Preview Lab → · Contrast checker → · Palette generator →

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