#5A801A#5A801A

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

Color values

HEX#5A801A
RGBrgb(90, 128, 26)
HSLhsl(82, 66%, 30%)
HSVhsv(82, 80%, 50%)
CMYKcmyk(29.7%, 0%, 79.7%, 49.8%)
CIE-LABlab(49.11, -28.98, 47.18)
CIE-LCHlch(49.11, 55.37, 121.56°)
OKLaboklab(55.15% -0.0831 0.1043)
OKLCHoklch(55.15% 0.133 128.5)
XYZxyz(12.1221, 17.6863, 3.7522)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A801A #401A80
analogous
#80731A #5A801A #27801A
triadic
#5A801A #1A5A80 #801A5A
tetradic
#5A801A #1A8073 #401A80 #801A27
square
#5A801A #1A8073 #401A80 #801A27
split-complementary
#5A801A #1A2780 #731A80
monochromatic
#121A05 #364D10 #5A801A #7EB324 #9ED83D

Accessibility & contrast

On white

4.63
#5A801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A801A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A801A#FFFFFF#000000##FFFFFF
##5A801A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a801a;
/* rgb */ color: rgb(90, 128, 26);
/* oklch */ color: oklch(55.2% 0.133 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ca560',
    500: '#5a801a',
    950: '#000000',
  },
}
SCSS
$custom: #5a801a;
$custom-light: #8ca560;
$custom-dark: #000000;
JSON
{
  "hex": "#5a801a",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 82.353,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.13338,
    "h": 128.5
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#5A801A
secondary
#6C42B4
accent
#3FE97E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #5A801A

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

Preview Lab → · Contrast checker → · Palette generator →

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