#5A9619#5A9619

#5A9619 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.9% C 0.162 H 132.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5A9619
RGBrgb(90, 150, 25)
HSLhsl(89, 71%, 34%)
HSVhsv(89, 83%, 59%)
CMYKcmyk(40%, 0%, 83.3%, 41.2%)
CIE-LABlab(56.14, -38.98, 53.95)
CIE-LCHlch(56.14, 66.56, 125.85°)
OKLaboklab(60.89% -0.1101 0.1184)
OKLCHoklch(60.89% 0.162 132.9)
XYZxyz(15.2981, 24.0558, 4.7567)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9619 #551996
analogous
#969419 #5A9619 #1B9619
triadic
#5A9619 #195A96 #96195A
tetradic
#5A9619 #199694 #551996 #96191B
square
#5A9619 #199694 #551996 #96191B
split-complementary
#5A9619 #191B96 #941996
monochromatic
#1B2D08 #3B6210 #5A9619 #79CA22 #98E149

Accessibility & contrast

On white

3.61
#5A9619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5A9619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9619
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9619#FFFFFF#000000##000000
##5A96191.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#5A9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9619;
/* rgb */ color: rgb(90, 150, 25);
/* oklch */ color: oklch(60.9% 0.162 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eb563',
    500: '#5a9619',
    950: '#000000',
  },
}
SCSS
$custom: #5a9619;
$custom-light: #8eb563;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9619",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 25
  },
  "hsl": {
    "h": 88.8,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.16174,
    "h": 132.9
  },
  "luminance": 0.24057
}

Semantic roles & 50–950 ramp

primary
#5A9619
secondary
#8349C2
accent
#3AEE90
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9619

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

Preview Lab → · Contrast checker → · Palette generator →

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