#5A9024#5A9024

#5A9024 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.148 H 132.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A9024
RGBrgb(90, 144, 36)
HSLhsl(90, 60%, 35%)
HSVhsv(90, 75%, 56%)
CMYKcmyk(37.5%, 0%, 75%, 43.5%)
CIE-LABlab(54.29, -35.75, 48.63)
CIE-LCHlch(54.29, 60.36, 126.32°)
OKLaboklab(59.39% -0.1007 0.109)
OKLCHoklch(59.39% 0.148 132.7)
XYZxyz(14.5079, 22.2469, 5.1984)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9024 #5A2490
analogous
#909024 #5A9024 #249024
triadic
#5A9024 #245A90 #90245A
tetradic
#5A9024 #249090 #5A2490 #902424
square
#5A9024 #249090 #5A2490 #902424
split-complementary
#5A9024 #242490 #902490
monochromatic
#1D2E0C #3B5F18 #5A9024 #79C130 #97D559

Accessibility & contrast

On white

3.85
#5A9024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5A9024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9024
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9024#FFFFFF#000000##000000
##5A90241.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850F
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#5B8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a9024;
/* rgb */ color: rgb(90, 144, 36);
/* oklch */ color: oklch(59.4% 0.148 132.7);
Tailwind
colors: {
  custom: {
    50: '#8db167',
    500: '#5a9024',
    950: '#000000',
  },
}
SCSS
$custom: #5a9024;
$custom-light: #8db167;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9024",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 36
  },
  "hsl": {
    "h": 90,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.14839,
    "h": 132.7
  },
  "luminance": 0.22248
}

Semantic roles & 50–950 ramp

primary
#5A9024
secondary
#8856BA
accent
#45E394
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A9024

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

Preview Lab → · Contrast checker → · Palette generator →

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