#5B901E#5B901E

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

Color values

HEX#5B901E
RGBrgb(91, 144, 30)
HSLhsl(88, 66%, 34%)
HSVhsv(88, 79%, 56%)
CMYKcmyk(36.8%, 0%, 79.2%, 43.5%)
CIE-LABlab(54.31, -35.74, 50.76)
CIE-LCHlch(54.31, 62.08, 125.15°)
OKLaboklab(59.41% -0.1012 0.1125)
OKLCHoklch(59.41% 0.151 132)
XYZxyz(14.5218, 22.2638, 4.7602)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B901E #531E90
analogous
#908C1E #5B901E #22901E
triadic
#5B901E #1E5B90 #901E5B
tetradic
#5B901E #1E908C #531E90 #901E22
square
#5B901E #1E908C #531E90 #901E22
split-complementary
#5B901E #1E2290 #8C1E90
monochromatic
#1B2B09 #3B5D13 #5B901E #7BC329 #99DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B901E#FFFFFF#000000##000000
##5B901E1.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)
#8F802A
Tritanopia (blue-blind)
#5C8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b901e;
/* rgb */ color: rgb(91, 144, 30);
/* oklch */ color: oklch(59.4% 0.151 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eb164',
    500: '#5b901e',
    950: '#000000',
  },
}
SCSS
$custom: #5b901e;
$custom-light: #8eb164;
$custom-dark: #000000;
JSON
{
  "hex": "#5b901e",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 87.895,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.15129,
    "h": 132
  },
  "luminance": 0.22264
}

Semantic roles & 50–950 ramp

primary
#5B901E
secondary
#814DBD
accent
#3FE88E
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B901E

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

Preview Lab → · Contrast checker → · Palette generator →

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