#5A9424#5A9424

#5A9424 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.4% C 0.154 H 133.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A9424
RGBrgb(90, 148, 36)
HSLhsl(91, 61%, 36%)
HSVhsv(91, 76%, 58%)
CMYKcmyk(39.2%, 0%, 75.7%, 42%)
CIE-LABlab(55.56, -37.52, 49.89)
CIE-LCHlch(55.56, 62.42, 126.94°)
OKLaboklab(60.43% -0.1055 0.1116)
OKLCHoklch(60.43% 0.154 133.4)
XYZxyz(15.1245, 23.4801, 5.4039)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9424 #5E2494
analogous
#929424 #5A9424 #249426
triadic
#5A9424 #245A94 #94245A
tetradic
#5A9424 #249294 #5E2494 #942624
square
#5A9424 #249294 #5E2494 #942624
split-complementary
#5A9424 #262494 #942492
monochromatic
#1E320C #3C6318 #5A9424 #78C530 #97D75B

Accessibility & contrast

On white

3.69
#5A9424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5A9424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9424
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9424#FFFFFF#000000##000000
##5A94241.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880D
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#5A8E7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a9424;
/* rgb */ color: rgb(90, 148, 36);
/* oklch */ color: oklch(60.4% 0.154 133.4);
Tailwind
colors: {
  custom: {
    50: '#8eb467',
    500: '#5a9424',
    950: '#000000',
  },
}
SCSS
$custom: #5a9424;
$custom-light: #8eb467;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9424",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 36
  },
  "hsl": {
    "h": 91.071,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60434,
    "c": 0.15356,
    "h": 133.4
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#5A9424
secondary
#8C58BC
accent
#44E497
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9424

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

Preview Lab → · Contrast checker → · Palette generator →

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