Skip to content

#9da500

a dark, electric yellow · cool · closest name: olive

RGB
157, 165, 0
HSL
63°, 100%, 32%
CMYK
5, 0, 100, 35
Luminance
0.3408

Every format

HEX#9da500
RGBrgb(157, 165, 0)
HSLhsl(63, 100%, 32%)
CMYKcmyk(5%, 0%, 100%, 35%)
LABlab(65.0 -19.1 67.4)
LCHlch(65.0 70.1 105.8)
OKLCHoklch(0.692 0.155 113.2)

Copy-ready code

/* CSS */
color: #9da500;
background-color: #9da500;
/* Tailwind (arbitrary) */
class="text-[#9da500] bg-[#9da500]"
/* SCSS */
$brand: #9da500;
/* SwiftUI */
Color(red: 0.616, green: 0.647, blue: 0.000)
/* Android */
Color.parseColor("#9da500")

Accessibility — WCAG contrast

Aa
#9da500 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#9da500 on black: 7.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green64.7%
Blue0.0%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow100.0%
Key (black)35.3%

Color previews

#9da500 text on a black background

contrast 7.82:1

Card sample

#9da500 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9da500;
Background color
Panel with #9da500 background
background-color: #9da500;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9da500;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(157, 165, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 165, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9da500;
background: linear-gradient(135deg, #9da500, #2FA500);

Monochromatic scale

Palettes built from #9da500

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da500 in the Color Lab