#5A8619#5A8619

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

Color values

HEX#5A8619
RGBrgb(90, 134, 25)
HSLhsl(84, 69%, 31%)
HSVhsv(84, 81%, 53%)
CMYKcmyk(32.8%, 0%, 81.3%, 47.5%)
CIE-LABlab(51.03, -31.85, 49.29)
CIE-LCHlch(51.03, 58.68, 122.87°)
OKLaboklab(56.71% -0.0909 0.1086)
OKLCHoklch(56.71% 0.142 129.9)
XYZxyz(12.9170, 19.2936, 3.9630)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8619 #451986
analogous
#867B19 #5A8619 #248619
triadic
#5A8619 #195A86 #86195A
tetradic
#5A8619 #19867B #451986 #861924
square
#5A8619 #19867B #451986 #861924
split-complementary
#5A8619 #192486 #7B1986
monochromatic
#151F06 #37520F #5A8619 #7DBA23 #9CDB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8619#FFFFFF#000000##000000
##5A86191.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)
#877825
Tritanopia (blue-blind)
#5D8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a8619;
/* rgb */ color: rgb(90, 134, 25);
/* oklch */ color: oklch(56.7% 0.142 129.9);
Tailwind
colors: {
  custom: {
    50: '#8da960',
    500: '#5a8619',
    950: '#000000',
  },
}
SCSS
$custom: #5a8619;
$custom-light: #8da960;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8619",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 84.22,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.14165,
    "h": 129.9
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#5A8619
secondary
#7241BA
accent
#3CEB83
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0D1005
muted
#7D7F79

Preview Lab

Preview with #5A8619

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

Preview Lab → · Contrast checker → · Palette generator →

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