#5A9327#5A9327

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

Color values

HEX#5A9327
RGBrgb(90, 147, 39)
HSLhsl(92, 58%, 36%)
HSVhsv(92, 73%, 58%)
CMYKcmyk(38.8%, 0%, 73.5%, 42.4%)
CIE-LABlab(55.26, -36.88, 48.48)
CIE-LCHlch(55.26, 60.91, 127.26°)
OKLaboklab(60.2% -0.1035 0.1091)
OKLCHoklch(60.2% 0.15 133.5)
XYZxyz(15.0161, 23.1869, 5.6034)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9327 #602793
analogous
#909327 #5A9327 #27932A
triadic
#5A9327 #275A93 #93275A
tetradic
#5A9327 #279093 #602793 #932A27
square
#5A9327 #279093 #602793 #932A27
split-complementary
#5A9327 #2A2793 #932790
monochromatic
#1F320D #3C631A #5A9327 #78C334 #97D560

Accessibility & contrast

On white

3.72
#5A9327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9327#FFFFFF#000000##000000
##5A93271.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a9327;
/* rgb */ color: rgb(90, 147, 39);
/* oklch */ color: oklch(60.2% 0.150 133.5);
Tailwind
colors: {
  custom: {
    50: '#8db368',
    500: '#5a9327',
    950: '#000000',
  },
}
SCSS
$custom: #5a9327;
$custom-light: #8db368;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9327",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 91.667,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.1504,
    "h": 133.5
  },
  "luminance": 0.23188
}

Semantic roles & 50–950 ramp

primary
#5A9327
secondary
#8E5CBA
accent
#47E198
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9327

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

Preview Lab → · Contrast checker → · Palette generator →

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