#5B801A#5B801A

#5B801A is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.133 H 128.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B801A
RGBrgb(91, 128, 26)
HSLhsl(82, 66%, 30%)
HSVhsv(82, 80%, 50%)
CMYKcmyk(28.9%, 0%, 79.7%, 49.8%)
CIE-LABlab(49.18, -28.57, 47.26)
CIE-LCHlch(49.18, 55.23, 121.16°)
OKLaboklab(55.22% -0.082 0.1045)
OKLCHoklch(55.22% 0.133 128.1)
XYZxyz(12.2200, 17.7368, 3.7568)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B801A #3F1A80
analogous
#80721A #5B801A #28801A
triadic
#5B801A #1A5B80 #801A5B
tetradic
#5B801A #1A8072 #3F1A80 #801A28
square
#5B801A #1A8072 #3F1A80 #801A28
split-complementary
#5B801A #1A2880 #721A80
monochromatic
#131A05 #374D10 #5B801A #7FB324 #9FD83D

Accessibility & contrast

On white

4.62
#5B801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5B801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B801A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B801A#FFFFFF#000000##FFFFFF
##5B801A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#5E7A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b801a;
/* rgb */ color: rgb(91, 128, 26);
/* oklch */ color: oklch(55.2% 0.133 128.1);
Tailwind
colors: {
  custom: {
    50: '#8da560',
    500: '#5b801a',
    950: '#000000',
  },
}
SCSS
$custom: #5b801a;
$custom-light: #8da560;
$custom-dark: #000000;
JSON
{
  "hex": "#5b801a",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 81.765,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.13285,
    "h": 128.1
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#5B801A
secondary
#6B42B4
accent
#3FE97C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B801A

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

Preview Lab → · Contrast checker → · Palette generator →

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