Skip to content

#9da40d

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

RGB
157, 164, 13
HSL
63°, 85%, 35%
CMYK
4, 0, 92, 36
Luminance
0.3375

Every format

HEX#9da40d
RGBrgb(157, 164, 13)
HSLhsl(63, 85%, 35%)
CMYKcmyk(4%, 0%, 92%, 36%)
LABlab(64.8 -18.4 65.5)
LCHlch(64.8 68.0 105.7)
OKLCHoklch(0.690 0.151 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da40d on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#9da40d on black: 7.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green64.3%
Blue5.1%

CMYK percentages

Cyan4.3%
Magenta0.0%
Yellow92.1%
Key (black)35.7%

Color previews

#9da40d text on a black background

contrast 7.75:1

Card sample

#9da40d text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 164, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 164, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9da40d;
background: linear-gradient(135deg, #9da40d, #38A40D);

Monochromatic scale

Palettes built from #9da40d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da40d in the Color Lab