#5A9325#5A9325

#5A9325 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.2% C 0.152 H 133.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5A9325
RGBrgb(90, 147, 37)
HSLhsl(91, 60%, 36%)
HSVhsv(91, 75%, 58%)
CMYKcmyk(38.8%, 0%, 74.8%, 42.4%)
CIE-LABlab(55.25, -37.01, 49.21)
CIE-LCHlch(55.25, 61.58, 126.95°)
OKLaboklab(60.18% -0.104 0.1104)
OKLCHoklch(60.18% 0.152 133.3)
XYZxyz(14.9839, 23.1740, 5.4334)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9325 #5E2593
analogous
#919325 #5A9325 #259327
triadic
#5A9325 #255A93 #93255A
tetradic
#5A9325 #259193 #5E2593 #932725
square
#5A9325 #259193 #5E2593 #932725
split-complementary
#5A9325 #272593 #932591
monochromatic
#1E310C #3C6219 #5A9325 #78C431 #97D65C

Accessibility & contrast

On white

3.73
#5A9325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5A9325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9325
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9325#FFFFFF#000000##000000
##5A93251.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998710
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#5A8D7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a9325;
/* rgb */ color: rgb(90, 147, 37);
/* oklch */ color: oklch(60.2% 0.152 133.3);
Tailwind
colors: {
  custom: {
    50: '#8eb367',
    500: '#5a9325',
    950: '#000000',
  },
}
SCSS
$custom: #5a9325;
$custom-light: #8eb367;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9325",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 37
  },
  "hsl": {
    "h": 91.091,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.15166,
    "h": 133.3
  },
  "luminance": 0.23175
}

Semantic roles & 50–950 ramp

primary
#5A9325
secondary
#8C59BB
accent
#45E397
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9325

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

Preview Lab → · Contrast checker → · Palette generator →

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