#5A9D1D#5A9D1D

#5A9D1D is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.7% C 0.169 H 134.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A9D1D
RGBrgb(90, 157, 29)
HSLhsl(91, 69%, 36%)
HSVhsv(91, 82%, 62%)
CMYKcmyk(42.7%, 0%, 81.5%, 38.4%)
CIE-LABlab(58.39, -41.76, 54.85)
CIE-LCHlch(58.39, 68.94, 127.28°)
OKLaboklab(62.74% -0.1174 0.121)
OKLCHoklch(62.74% 0.169 134.1)
XYZxyz(16.4949, 26.3754, 5.3840)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9D1D #601D9D
analogous
#9A9D1D #5A9D1D #1D9D20
triadic
#5A9D1D #1D5A9D #9D1D5A
tetradic
#5A9D1D #1D9A9D #601D9D #9D201D
square
#5A9D1D #1D9A9D #601D9D #9D201D
split-complementary
#5A9D1D #201D9D #9D1D9A
monochromatic
#1F360A #3C6913 #5A9D1D #78D127 #97E055

Accessibility & contrast

On white

3.35
#5A9D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5A9D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9D1D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9D1D#FFFFFF#000000##000000
##5A9D1D1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a9d1d;
/* rgb */ color: rgb(90, 157, 29);
/* oklch */ color: oklch(62.7% 0.169 134.1);
Tailwind
colors: {
  custom: {
    50: '#8fba65',
    500: '#5a9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9d1d;
$custom-light: #8fba65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9d1d",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 91.406,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62738,
    "c": 0.16854,
    "h": 134.1
  },
  "luminance": 0.26376
}

Semantic roles & 50–950 ramp

primary
#5A9D1D
secondary
#8E53C3
accent
#3CEC98
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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