#5A9A1D#5A9A1D

#5A9A1D is a mid, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.0% C 0.165 H 133.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A9A1D
RGBrgb(90, 154, 29)
HSLhsl(91, 68%, 36%)
HSVhsv(91, 81%, 60%)
CMYKcmyk(41.6%, 0%, 81.2%, 39.6%)
CIE-LABlab(57.44, -40.50, 53.97)
CIE-LCHlch(57.44, 67.48, 126.88°)
OKLaboklab(61.96% -0.114 0.1191)
OKLCHoklch(61.96% 0.165 133.7)
XYZxyz(15.9935, 25.3727, 5.2169)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9A1D #5D1D9A
analogous
#989A1D #5A9A1D #1D9A1E
triadic
#5A9A1D #1D5A9A #9A1D5A
tetradic
#5A9A1D #1D989A #5D1D9A #9A1E1D
square
#5A9A1D #1D989A #5D1D9A #9A1E1D
split-complementary
#5A9A1D #1E1D9A #9A1D98
monochromatic
#1E330A #3C6613 #5A9A1D #78CE27 #97DF53

Accessibility & contrast

On white

3.46
#5A9A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5A9A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9A1D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9A1D#FFFFFF#000000##000000
##5A9A1D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#5A9483
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a9a1d;
/* rgb */ color: rgb(90, 154, 29);
/* oklch */ color: oklch(62.0% 0.165 133.7);
Tailwind
colors: {
  custom: {
    50: '#8fb865',
    500: '#5a9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9a1d;
$custom-light: #8fb865;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9a1d",
  "rgb": {
    "r": 90,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 90.72,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61955,
    "c": 0.16485,
    "h": 133.7
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#5A9A1D
secondary
#8B51C2
accent
#3DEB96
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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