#5B901D#5B901D

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

Color values

HEX#5B901D
RGBrgb(91, 144, 29)
HSLhsl(88, 66%, 34%)
HSVhsv(88, 80%, 56%)
CMYKcmyk(36.8%, 0%, 79.9%, 43.5%)
CIE-LABlab(54.30, -35.80, 51.08)
CIE-LCHlch(54.30, 62.37, 125.02°)
OKLaboklab(59.4% -0.1014 0.113)
OKLCHoklch(59.4% 0.152 131.9)
XYZxyz(14.5093, 22.2588, 4.6941)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B901D #521D90
analogous
#908C1D #5B901D #22901D
triadic
#5B901D #1D5B90 #901D5B
tetradic
#5B901D #1D908C #521D90 #901D22
square
#5B901D #1D908C #521D90 #901D22
split-complementary
#5B901D #1D2290 #8C1D90
monochromatic
#1B2A08 #3B5D13 #5B901D #7BC327 #99DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B901D#FFFFFF#000000##000000
##5B901D1.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)
#968400
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#5C8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b901d;
/* rgb */ color: rgb(91, 144, 29);
/* oklch */ color: oklch(59.4% 0.152 131.9);
Tailwind
colors: {
  custom: {
    50: '#8eb163',
    500: '#5b901d',
    950: '#000000',
  },
}
SCSS
$custom: #5b901d;
$custom-light: #8eb163;
$custom-dark: #000000;
JSON
{
  "hex": "#5b901d",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 87.652,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.15181,
    "h": 131.9
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#5B901D
secondary
#804BBD
accent
#3EE98D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B901D

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

Preview Lab → · Contrast checker → · Palette generator →

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