#5B9520#5B9520

#5B9520 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.157 H 132.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B9520
RGBrgb(91, 149, 32)
HSLhsl(90, 65%, 35%)
HSVhsv(90, 79%, 58%)
CMYKcmyk(38.9%, 0%, 78.5%, 41.6%)
CIE-LABlab(55.91, -37.83, 51.62)
CIE-LCHlch(55.91, 64.00, 126.24°)
OKLaboklab(60.72% -0.1067 0.1146)
OKLCHoklch(60.72% 0.157 132.9)
XYZxyz(15.3223, 23.8226, 5.1571)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9520 #5A2095
analogous
#959520 #5B9520 #209520
triadic
#5B9520 #205B95 #95205B
tetradic
#5B9520 #209595 #5A2095 #952020
square
#5B9520 #209595 #5A2095 #952020
split-complementary
#5B9520 #202095 #952095
monochromatic
#1D300A #3C6315 #5B9520 #7AC72B #98DA55

Accessibility & contrast

On white

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

On black

5.76
#5B9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9520
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9520#FFFFFF#000000##000000
##5B95201.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b9520;
/* rgb */ color: rgb(91, 149, 32);
/* oklch */ color: oklch(60.7% 0.157 132.9);
Tailwind
colors: {
  custom: {
    50: '#8fb465',
    500: '#5b9520',
    950: '#000000',
  },
}
SCSS
$custom: #5b9520;
$custom-light: #8fb465;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9520",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 89.744,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.15657,
    "h": 132.9
  },
  "luminance": 0.23823
}

Semantic roles & 50–950 ramp

primary
#5B9520
secondary
#8853BE
accent
#40E893
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9520

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

Preview Lab → · Contrast checker → · Palette generator →

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