#5A801E#5A801E

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

Color values

HEX#5A801E
RGBrgb(90, 128, 30)
HSLhsl(83, 62%, 31%)
HSVhsv(83, 77%, 50%)
CMYKcmyk(29.7%, 0%, 76.6%, 49.8%)
CIE-LABlab(49.14, -28.75, 45.80)
CIE-LCHlch(49.14, 54.07, 122.12°)
OKLaboklab(55.18% -0.0821 0.1021)
OKLCHoklch(55.18% 0.131 128.8)
XYZxyz(12.1699, 17.7054, 4.0043)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A801E #441E80
analogous
#80751E #5A801E #29801E
triadic
#5A801E #1E5A80 #801E5A
tetradic
#5A801E #1E8075 #441E80 #801E29
square
#5A801E #1E8075 #441E80 #801E29
split-complementary
#5A801E #1E2980 #751E80
monochromatic
#141D07 #374E12 #5A801E #7DB22A #9CD345

Accessibility & contrast

On white

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

On black

4.54
#5A801E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A801E#FFFFFF#000000##FFFFFF
##5A801E1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a801e;
/* rgb */ color: rgb(90, 128, 30);
/* oklch */ color: oklch(55.2% 0.131 128.8);
Tailwind
colors: {
  custom: {
    50: '#8ca562',
    500: '#5a801e',
    950: '#000000',
  },
}
SCSS
$custom: #5a801e;
$custom-light: #8ca562;
$custom-dark: #000000;
JSON
{
  "hex": "#5a801e",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 83.265,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.13105,
    "h": 128.8
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#5A801E
secondary
#7147B3
accent
#43E582
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #5A801E

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

Preview Lab → · Contrast checker → · Palette generator →

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