#5A9924#5A9924

#5A9924 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.7% C 0.160 H 134.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5A9924
RGBrgb(90, 153, 36)
HSLhsl(92, 62%, 37%)
HSVhsv(92, 76%, 60%)
CMYKcmyk(41.2%, 0%, 76.5%, 40%)
CIE-LABlab(57.16, -39.68, 51.44)
CIE-LCHlch(57.16, 64.97, 127.64°)
OKLaboklab(61.74% -0.1113 0.1149)
OKLCHoklch(61.74% 0.16 134.1)
XYZxyz(15.9258, 25.0827, 5.6710)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9924 #632499
analogous
#959924 #5A9924 #249929
triadic
#5A9924 #245A99 #99245A
tetradic
#5A9924 #249599 #632499 #992924
square
#5A9924 #249599 #632499 #992924
split-complementary
#5A9924 #292499 #992495
monochromatic
#20360D #3D6718 #5A9924 #77CB30 #97D95E

Accessibility & contrast

On white

3.49
#5A9924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5A9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9924
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9924#FFFFFF#000000##000000
##5A99241.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C09
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#599383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9924;
/* rgb */ color: rgb(90, 153, 36);
/* oklch */ color: oklch(61.7% 0.160 134.1);
Tailwind
colors: {
  custom: {
    50: '#8eb768',
    500: '#5a9924',
    950: '#000000',
  },
}
SCSS
$custom: #5a9924;
$custom-light: #8eb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9924",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 92.308,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.15995,
    "h": 134.1
  },
  "luminance": 0.25083
}

Semantic roles & 50–950 ramp

primary
#5A9924
secondary
#905BBE
accent
#43E59A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9924

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

Preview Lab → · Contrast checker → · Palette generator →

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