#5B9325#5B9325

#5B9325 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.2% C 0.151 H 133.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5B9325
RGBrgb(91, 147, 37)
HSLhsl(91, 60%, 36%)
HSVhsv(91, 75%, 58%)
CMYKcmyk(38.1%, 0%, 74.8%, 42.4%)
CIE-LABlab(55.30, -36.65, 49.28)
CIE-LCHlch(55.30, 61.42, 126.64°)
OKLaboklab(60.24% -0.1031 0.1105)
OKLCHoklch(60.24% 0.151 133)
XYZxyz(15.0818, 23.2245, 5.4380)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9325 #5D2593
analogous
#929325 #5B9325 #259326
triadic
#5B9325 #255B93 #93255B
tetradic
#5B9325 #259293 #5D2593 #932625
square
#5B9325 #259293 #5D2593 #932625
split-complementary
#5B9325 #262593 #932592
monochromatic
#1E310C #3D6219 #5B9325 #79C431 #98D65C

Accessibility & contrast

On white

3.72
#5B9325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5B9325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9325
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9325#FFFFFF#000000##000000
##5B93251.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998710
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#5B8D7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b9325;
/* rgb */ color: rgb(91, 147, 37);
/* oklch */ color: oklch(60.2% 0.151 133.0);
Tailwind
colors: {
  custom: {
    50: '#8eb367',
    500: '#5b9325',
    950: '#000000',
  },
}
SCSS
$custom: #5b9325;
$custom-light: #8eb367;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9325",
  "rgb": {
    "r": 91,
    "g": 147,
    "b": 37
  },
  "hsl": {
    "h": 90.545,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.15113,
    "h": 133
  },
  "luminance": 0.23225
}

Semantic roles & 50–950 ramp

primary
#5B9325
secondary
#8B59BB
accent
#45E395
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9325

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

Preview Lab → · Contrast checker → · Palette generator →

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