#5A8924#5A8924

#5A8924 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.139 H 131.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A8924
RGBrgb(90, 137, 36)
HSLhsl(88, 58%, 34%)
HSVhsv(88, 74%, 54%)
CMYKcmyk(34.3%, 0%, 73.7%, 46.3%)
CIE-LABlab(52.05, -32.58, 46.41)
CIE-LCHlch(52.05, 56.70, 125.07°)
OKLaboklab(57.57% -0.0921 0.1044)
OKLCHoklch(57.57% 0.139 131.4)
XYZxyz(13.4804, 20.1919, 4.8559)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8924 #532489
analogous
#898624 #5A8924 #278924
triadic
#5A8924 #245A89 #89245A
tetradic
#5A8924 #248986 #532489 #892427
square
#5A8924 #248986 #532489 #892427
split-complementary
#5A8924 #242789 #862489
monochromatic
#1A280B #3A5917 #5A8924 #7AB931 #98D255

Accessibility & contrast

On white

4.17
#5A8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5A8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8924
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8924#FFFFFF#000000##000000
##5A89241.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#5C8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a8924;
/* rgb */ color: rgb(90, 137, 36);
/* oklch */ color: oklch(57.6% 0.139 131.4);
Tailwind
colors: {
  custom: {
    50: '#8dab66',
    500: '#5a8924',
    950: '#000000',
  },
}
SCSS
$custom: #5a8924;
$custom-light: #8dab66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8924",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 87.921,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.13917,
    "h": 131.4
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#5A8924
secondary
#8152B7
accent
#46E28F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #5A8924

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

Preview Lab → · Contrast checker → · Palette generator →

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