#5A8824#5A8824

#5A8824 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.3% C 0.138 H 131.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5A8824
RGBrgb(90, 136, 36)
HSLhsl(88, 58%, 34%)
HSVhsv(88, 74%, 53%)
CMYKcmyk(33.8%, 0%, 73.5%, 46.7%)
CIE-LABlab(51.73, -32.12, 46.09)
CIE-LCHlch(51.73, 56.18, 124.88°)
OKLaboklab(57.31% -0.0908 0.1037)
OKLCHoklch(57.31% 0.138 131.2)
XYZxyz(13.3389, 19.9089, 4.8087)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8824 #522488
analogous
#888424 #5A8824 #288824
triadic
#5A8824 #245A88 #88245A
tetradic
#5A8824 #248884 #522488 #882428
square
#5A8824 #248884 #522488 #882428
split-complementary
#5A8824 #242888 #842488
monochromatic
#1A270A #3A5817 #5A8824 #7AB831 #98D255

Accessibility & contrast

On white

4.22
#5A8824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5A8824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8824
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8824#FFFFFF#000000##000000
##5A88241.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E13
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#5C8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a8824;
/* rgb */ color: rgb(90, 136, 36);
/* oklch */ color: oklch(57.3% 0.138 131.2);
Tailwind
colors: {
  custom: {
    50: '#8dab66',
    500: '#5a8824',
    950: '#000000',
  },
}
SCSS
$custom: #5a8824;
$custom-light: #8dab66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8824",
  "rgb": {
    "r": 90,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 87.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.13783,
    "h": 131.2
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#5A8824
secondary
#8052B6
accent
#46E18E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #5A8824

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

Preview Lab → · Contrast checker → · Palette generator →

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