Skip to content

#9da405

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

RGB
157, 164, 5
HSL
63°, 94%, 33%
CMYK
4, 0, 97, 36
Luminance
0.3373

Every format

HEX#9da405
RGBrgb(157, 164, 5)
HSLhsl(63, 94%, 33%)
CMYKcmyk(4%, 0%, 97%, 36%)
LABlab(64.8 -18.5 66.6)
LCHlch(64.8 69.1 105.5)
OKLCHoklch(0.690 0.153 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red61.6%
Green64.3%
Blue2.0%

CMYK percentages

Cyan4.3%
Magenta0.0%
Yellow97.0%
Key (black)35.7%

Color previews

#9da405 text on a black background

contrast 7.75:1

Card sample

#9da405 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da405

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da405 in the Color Lab