#5A9320#5A9320

#5A9320 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.1% C 0.155 H 132.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5A9320
RGBrgb(90, 147, 32)
HSLhsl(90, 64%, 35%)
HSVhsv(90, 78%, 58%)
CMYKcmyk(38.8%, 0%, 78.2%, 42.4%)
CIE-LABlab(55.22, -37.32, 50.95)
CIE-LCHlch(55.22, 63.16, 126.23°)
OKLaboklab(60.15% -0.1052 0.1132)
OKLCHoklch(60.15% 0.155 132.9)
XYZxyz(14.9107, 23.1447, 5.0480)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9320 #592093
analogous
#939220 #5A9320 #219320
triadic
#5A9320 #205A93 #93205A
tetradic
#5A9320 #209392 #592093 #932021
square
#5A9320 #209392 #592093 #932021
split-complementary
#5A9320 #202193 #922093
monochromatic
#1C2E0A #3B6115 #5A9320 #79C52B #97DA54

Accessibility & contrast

On white

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

On black

5.63
#5A9320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9320
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9320#FFFFFF#000000##000000
##5A93201.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#5A8D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a9320;
/* rgb */ color: rgb(90, 147, 32);
/* oklch */ color: oklch(60.1% 0.155 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eb365',
    500: '#5a9320',
    950: '#000000',
  },
}
SCSS
$custom: #5a9320;
$custom-light: #8eb365;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9320",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 32
  },
  "hsl": {
    "h": 89.739,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.15457,
    "h": 132.9
  },
  "luminance": 0.23145
}

Semantic roles & 50–950 ramp

primary
#5A9320
secondary
#8752BD
accent
#41E793
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9320

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

Preview Lab → · Contrast checker → · Palette generator →

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