#5A8919#5A8919

#5A8919 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.145 H 130.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A8919
RGBrgb(90, 137, 25)
HSLhsl(85, 69%, 32%)
HSVhsv(85, 82%, 54%)
CMYKcmyk(34.3%, 0%, 81.8%, 46.3%)
CIE-LABlab(51.99, -33.23, 50.17)
CIE-LCHlch(51.99, 60.18, 123.52°)
OKLaboklab(57.5% -0.0947 0.1105)
OKLCHoklch(57.5% 0.145 130.6)
XYZxyz(13.3375, 20.1347, 4.1032)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8919 #481989
analogous
#898019 #5A8919 #228919
triadic
#5A8919 #195A89 #89195A
tetradic
#5A8919 #198980 #481989 #891922
square
#5A8919 #198980 #481989 #891922
split-complementary
#5A8919 #192289 #801989
monochromatic
#162106 #385510 #5A8919 #7CBD22 #9BDC40

Accessibility & contrast

On white

4.18
#5A8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5A8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8919
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8919#FFFFFF#000000##000000
##5A89191.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#5C8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a8919;
/* rgb */ color: rgb(90, 137, 25);
/* oklch */ color: oklch(57.5% 0.145 130.6);
Tailwind
colors: {
  custom: {
    50: '#8dab61',
    500: '#5a8919',
    950: '#000000',
  },
}
SCSS
$custom: #5a8919;
$custom-light: #8dab61;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8919",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 85.179,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.14548,
    "h": 130.6
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#5A8919
secondary
#7541BC
accent
#3CEC86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5A8919

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

Preview Lab → · Contrast checker → · Palette generator →

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