#5B801E#5B801E

#5B801E is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.131 H 128.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B801E
RGBrgb(91, 128, 30)
HSLhsl(83, 62%, 31%)
HSVhsv(83, 77%, 50%)
CMYKcmyk(28.9%, 0%, 76.6%, 49.8%)
CIE-LABlab(49.20, -28.34, 45.88)
CIE-LCHlch(49.20, 53.93, 121.71°)
OKLaboklab(55.25% -0.0811 0.1022)
OKLCHoklch(55.25% 0.131 128.4)
XYZxyz(12.2679, 17.7559, 4.0089)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B801E #431E80
analogous
#80741E #5B801E #2A801E
triadic
#5B801E #1E5B80 #801E5B
tetradic
#5B801E #1E8074 #431E80 #801E2A
square
#5B801E #1E8074 #431E80 #801E2A
split-complementary
#5B801E #1E2A80 #741E80
monochromatic
#151D07 #384E12 #5B801E #7EB22A #9ED345

Accessibility & contrast

On white

4.61
#5B801E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B801E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B801E#FFFFFF#000000##FFFFFF
##5B801E1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b801e;
/* rgb */ color: rgb(91, 128, 30);
/* oklch */ color: oklch(55.2% 0.131 128.4);
Tailwind
colors: {
  custom: {
    50: '#8da562',
    500: '#5b801e',
    950: '#000000',
  },
}
SCSS
$custom: #5b801e;
$custom-light: #8da562;
$custom-dark: #000000;
JSON
{
  "hex": "#5b801e",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 82.653,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.13051,
    "h": 128.4
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#5B801E
secondary
#7047B3
accent
#43E580
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #5B801E

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

Preview Lab → · Contrast checker → · Palette generator →

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