#5A861A#5A861A

#5A861A is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.7% C 0.141 H 130.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A861A
RGBrgb(90, 134, 26)
HSLhsl(84, 68%, 31%)
HSVhsv(84, 81%, 53%)
CMYKcmyk(32.8%, 0%, 80.6%, 47.5%)
CIE-LABlab(51.03, -31.80, 48.97)
CIE-LCHlch(51.03, 58.39, 123.00°)
OKLaboklab(56.72% -0.0907 0.1081)
OKLCHoklch(56.72% 0.141 130)
XYZxyz(12.9279, 19.2980, 4.0208)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A861A #461A86
analogous
#867C1A #5A861A #24861A
triadic
#5A861A #1A5A86 #861A5A
tetradic
#5A861A #1A867C #461A86 #861A24
square
#5A861A #1A867C #461A86 #861A24
split-complementary
#5A861A #1A2486 #7C1A86
monochromatic
#151F06 #385310 #5A861A #7CB924 #9BDA40

Accessibility & contrast

On white

4.32
#5A861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5A861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A861A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A861A#FFFFFF#000000##000000
##5A861A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877826
Tritanopia (blue-blind)
#5C8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a861a;
/* rgb */ color: rgb(90, 134, 26);
/* oklch */ color: oklch(56.7% 0.141 130.0);
Tailwind
colors: {
  custom: {
    50: '#8da961',
    500: '#5a861a',
    950: '#000000',
  },
}
SCSS
$custom: #5a861a;
$custom-light: #8da961;
$custom-dark: #000000;
JSON
{
  "hex": "#5a861a",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 84.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.14114,
    "h": 130
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#5A861A
secondary
#7342B9
accent
#3DEA84
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #5A861A

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

Preview Lab → · Contrast checker → · Palette generator →

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