#5A8024#5A8024

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

Color values

HEX#5A8024
RGBrgb(90, 128, 36)
HSLhsl(85, 56%, 32%)
HSVhsv(85, 72%, 50%)
CMYKcmyk(29.7%, 0%, 71.9%, 49.8%)
CIE-LABlab(49.18, -28.35, 43.50)
CIE-LCHlch(49.18, 51.92, 123.09°)
OKLaboklab(55.23% -0.0805 0.0983)
OKLCHoklch(55.23% 0.127 129.3)
XYZxyz(12.2540, 17.7390, 4.4471)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8024 #4A2480
analogous
#807824 #5A8024 #2C8024
triadic
#5A8024 #245A80 #80245A
tetradic
#5A8024 #248078 #4A2480 #80242C
square
#5A8024 #248078 #4A2480 #80242C
split-complementary
#5A8024 #242C80 #782480
monochromatic
#172009 #385017 #5A8024 #7CB031 #9ACE50

Accessibility & contrast

On white

4.62
#5A8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5A8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A8024
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8024#FFFFFF#000000##FFFFFF
##5A80241.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867716
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#5D7A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a8024;
/* rgb */ color: rgb(90, 128, 36);
/* oklch */ color: oklch(55.2% 0.127 129.3);
Tailwind
colors: {
  custom: {
    50: '#8ca565',
    500: '#5a8024',
    950: '#000000',
  },
}
SCSS
$custom: #5a8024;
$custom-light: #8ca565;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8024",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 84.783,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.12705,
    "h": 129.3
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#5A8024
secondary
#774EB2
accent
#48DF87
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5A8024

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

Preview Lab → · Contrast checker → · Palette generator →

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