#5A901A#5A901A

#5A901A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.3% C 0.154 H 132.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5A901A
RGBrgb(90, 144, 26)
HSLhsl(87, 69%, 33%)
HSVhsv(87, 82%, 56%)
CMYKcmyk(37.5%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.23, -36.32, 51.92)
CIE-LCHlch(54.23, 63.37, 124.98°)
OKLaboklab(59.33% -0.1029 0.1143)
OKLCHoklch(59.33% 0.154 132)
XYZxyz(14.3760, 22.1941, 4.5035)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A901A #501A90
analogous
#908B1A #5A901A #1F901A
triadic
#5A901A #1A5A90 #901A5A
tetradic
#5A901A #1A908B #501A90 #901A1F
square
#5A901A #1A908B #501A90 #901A1F
split-complementary
#5A901A #1A1F90 #8B1A90
monochromatic
#192807 #3A5C11 #5A901A #7AC423 #99DE47

Accessibility & contrast

On white

3.86
#5A901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5A901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A901A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A901A#FFFFFF#000000##000000
##5A901A1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#5B8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a901a;
/* rgb */ color: rgb(90, 144, 26);
/* oklch */ color: oklch(59.3% 0.154 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eb162',
    500: '#5a901a',
    950: '#000000',
  },
}
SCSS
$custom: #5a901a;
$custom-light: #8eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#5a901a",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 87.458,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.15384,
    "h": 132
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#5A901A
secondary
#7E47BF
accent
#3CEC8C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A901A

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

Preview Lab → · Contrast checker → · Palette generator →

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