#5B901A#5B901A

#5B901A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.153 H 131.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B901A
RGBrgb(91, 144, 26)
HSLhsl(87, 69%, 33%)
HSVhsv(87, 82%, 56%)
CMYKcmyk(36.8%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.29, -35.95, 51.99)
CIE-LCHlch(54.29, 63.21, 124.66°)
OKLaboklab(59.39% -0.102 0.1144)
OKLCHoklch(59.39% 0.153 131.7)
XYZxyz(14.4740, 22.2446, 4.5081)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B901A #4F1A90
analogous
#908A1A #5B901A #20901A
triadic
#5B901A #1A5B90 #901A5B
tetradic
#5B901A #1A908A #4F1A90 #901A20
square
#5B901A #1A908A #4F1A90 #901A20
split-complementary
#5B901A #1A2090 #8A1A90
monochromatic
#192807 #3A5C11 #5B901A #7CC423 #9ADE47

Accessibility & contrast

On white

3.85
#5B901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5B901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B901A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B901A#FFFFFF#000000##000000
##5B901A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#5C8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b901a;
/* rgb */ color: rgb(91, 144, 26);
/* oklch */ color: oklch(59.4% 0.153 131.7);
Tailwind
colors: {
  custom: {
    50: '#8eb162',
    500: '#5b901a',
    950: '#000000',
  },
}
SCSS
$custom: #5b901a;
$custom-light: #8eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#5b901a",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 86.949,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.15329,
    "h": 131.7
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#5B901A
secondary
#7D47BF
accent
#3CEC8B
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B901A

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

Preview Lab → · Contrast checker → · Palette generator →

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