#5A9019#5A9019

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

Color values

HEX#5A9019
RGBrgb(90, 144, 25)
HSLhsl(87, 70%, 33%)
HSVhsv(87, 83%, 56%)
CMYKcmyk(37.5%, 0%, 82.6%, 43.5%)
CIE-LABlab(54.23, -36.37, 52.21)
CIE-LCHlch(54.23, 63.63, 124.86°)
OKLaboklab(59.32% -0.1031 0.1148)
OKLCHoklch(59.32% 0.154 131.9)
XYZxyz(14.3650, 22.1898, 4.4457)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9019 #4F1990
analogous
#908A19 #5A9019 #1E9019
triadic
#5A9019 #195A90 #90195A
tetradic
#5A9019 #19908A #4F1990 #90191E
square
#5A9019 #19908A #4F1990 #90191E
split-complementary
#5A9019 #191E90 #8A1990
monochromatic
#192807 #395C10 #5A9019 #7BC422 #99DF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9019#FFFFFF#000000##000000
##5A90191.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)
#8F8027
Tritanopia (blue-blind)
#5B8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a9019;
/* rgb */ color: rgb(90, 144, 25);
/* oklch */ color: oklch(59.3% 0.154 131.9);
Tailwind
colors: {
  custom: {
    50: '#8eb162',
    500: '#5a9019',
    950: '#000000',
  },
}
SCSS
$custom: #5a9019;
$custom-light: #8eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9019",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 87.227,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.1543,
    "h": 131.9
  },
  "luminance": 0.2219
}

Semantic roles & 50–950 ramp

primary
#5A9019
secondary
#7D45C0
accent
#3BED8C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A9019

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

Preview Lab → · Contrast checker → · Palette generator →

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