#5A9124#5A9124

#5A9124 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.150 H 132.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5A9124
RGBrgb(90, 145, 36)
HSLhsl(90, 60%, 35%)
HSVhsv(90, 75%, 57%)
CMYKcmyk(37.9%, 0%, 75.2%, 43.1%)
CIE-LABlab(54.61, -36.20, 48.95)
CIE-LCHlch(54.61, 60.88, 126.48°)
OKLaboklab(59.65% -0.1019 0.1097)
OKLCHoklch(59.65% 0.15 132.9)
XYZxyz(14.6601, 22.5512, 5.2491)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9124 #5B2491
analogous
#909124 #5A9124 #249124
triadic
#5A9124 #245A91 #91245A
tetradic
#5A9124 #249091 #5B2491 #912424
square
#5A9124 #249091 #5B2491 #912424
split-complementary
#5A9124 #242491 #912490
monochromatic
#1D2F0C #3C6018 #5A9124 #78C230 #97D659

Accessibility & contrast

On white

3.81
#5A9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5A9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9124
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9124#FFFFFF#000000##000000
##5A91241.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850E
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#5B8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a9124;
/* rgb */ color: rgb(90, 145, 36);
/* oklch */ color: oklch(59.7% 0.150 132.9);
Tailwind
colors: {
  custom: {
    50: '#8db167',
    500: '#5a9124',
    950: '#000000',
  },
}
SCSS
$custom: #5a9124;
$custom-light: #8db167;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9124",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 90.275,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.14969,
    "h": 132.9
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#5A9124
secondary
#8956BA
accent
#44E395
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9124

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

Preview Lab → · Contrast checker → · Palette generator →

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