#5A9824#5A9824

#5A9824 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.5% C 0.159 H 134.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5A9824
RGBrgb(90, 152, 36)
HSLhsl(92, 62%, 37%)
HSVhsv(92, 76%, 60%)
CMYKcmyk(40.8%, 0%, 76.3%, 40.4%)
CIE-LABlab(56.84, -39.25, 51.13)
CIE-LCHlch(56.84, 64.46, 127.51°)
OKLaboklab(61.48% -0.1101 0.1142)
OKLCHoklch(61.48% 0.159 134)
XYZxyz(15.7628, 24.7567, 5.6167)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9824 #622498
analogous
#949824 #5A9824 #249828
triadic
#5A9824 #245A98 #98245A
tetradic
#5A9824 #249498 #622498 #982824
square
#5A9824 #249498 #622498 #982824
split-complementary
#5A9824 #282498 #982494
monochromatic
#1F350D #3D6718 #5A9824 #77C930 #97D95E

Accessibility & contrast

On white

3.53
#5A9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5A9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9824
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9824#FFFFFF#000000##000000
##5A98241.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0A
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#5A9282
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9824;
/* rgb */ color: rgb(90, 152, 36);
/* oklch */ color: oklch(61.5% 0.159 134.0);
Tailwind
colors: {
  custom: {
    50: '#8eb768',
    500: '#5a9824',
    950: '#000000',
  },
}
SCSS
$custom: #5a9824;
$custom-light: #8eb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9824",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 92.069,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.15869,
    "h": 134
  },
  "luminance": 0.24758
}

Semantic roles & 50–950 ramp

primary
#5A9824
secondary
#8F5ABE
accent
#43E599
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9824

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

Preview Lab → · Contrast checker → · Palette generator →

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