#5A931A#5A931A

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

Color values

HEX#5A931A
RGBrgb(90, 147, 26)
HSLhsl(88, 70%, 34%)
HSVhsv(88, 82%, 58%)
CMYKcmyk(38.8%, 0%, 82.3%, 42.4%)
CIE-LABlab(55.19, -37.64, 52.80)
CIE-LCHlch(55.19, 64.84, 125.48°)
OKLaboklab(60.11% -0.1065 0.1162)
OKLCHoklch(60.11% 0.158 132.5)
XYZxyz(14.8364, 23.1150, 4.6570)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A931A #531A93
analogous
#93901A #5A931A #1E931A
triadic
#5A931A #1A5A93 #931A5A
tetradic
#5A931A #1A9390 #531A93 #931A1E
square
#5A931A #1A9390 #531A93 #931A1E
split-complementary
#5A931A #1A1E93 #901A93
monochromatic
#1A2B08 #3A5F11 #5A931A #7AC723 #98DF49

Accessibility & contrast

On white

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

On black

5.62
#5A931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A931A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A931A#FFFFFF#000000##000000
##5A931A1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#5B8D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a931a;
/* rgb */ color: rgb(90, 147, 26);
/* oklch */ color: oklch(60.1% 0.158 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eb362',
    500: '#5a931a',
    950: '#000000',
  },
}
SCSS
$custom: #5a931a;
$custom-light: #8eb362;
$custom-dark: #000000;
JSON
{
  "hex": "#5a931a",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 88.264,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.15758,
    "h": 132.5
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#5A931A
secondary
#8148C0
accent
#3BED8F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A931A

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

Preview Lab → · Contrast checker → · Palette generator →

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