#5A9624#5A9624

#5A9624 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.156 H 133.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A9624
RGBrgb(90, 150, 36)
HSLhsl(92, 61%, 36%)
HSVhsv(92, 76%, 59%)
CMYKcmyk(40%, 0%, 76%, 41.2%)
CIE-LABlab(56.20, -38.39, 50.51)
CIE-LCHlch(56.20, 63.44, 127.23°)
OKLaboklab(60.96% -0.1078 0.1129)
OKLCHoklch(60.96% 0.156 133.7)
XYZxyz(15.4410, 24.1130, 5.5094)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9624 #602496
analogous
#939624 #5A9624 #249627
triadic
#5A9624 #245A96 #96245A
tetradic
#5A9624 #249396 #602496 #962724
square
#5A9624 #249396 #602496 #962724
split-complementary
#5A9624 #272496 #962493
monochromatic
#1F330C #3C6518 #5A9624 #78C730 #97D85C

Accessibility & contrast

On white

3.61
#5A9624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5A9624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9624
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9624#FFFFFF#000000##000000
##5A96241.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0B
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#5A9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9624;
/* rgb */ color: rgb(90, 150, 36);
/* oklch */ color: oklch(61.0% 0.156 133.7);
Tailwind
colors: {
  custom: {
    50: '#8eb567',
    500: '#5a9624',
    950: '#000000',
  },
}
SCSS
$custom: #5a9624;
$custom-light: #8eb567;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9624",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 36
  },
  "hsl": {
    "h": 91.579,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.15614,
    "h": 133.7
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#5A9624
secondary
#8E59BD
accent
#43E498
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9624

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

Preview Lab → · Contrast checker → · Palette generator →

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