Skip to content

#9da302

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

RGB
157, 163, 2
HSL
62°, 98%, 32%
CMYK
4, 0, 99, 36
Luminance
0.3337

Every format

HEX#9da302
RGBrgb(157, 163, 2)
HSLhsl(62, 98%, 32%)
CMYKcmyk(4%, 0%, 99%, 36%)
LABlab(64.5 -18.1 66.7)
LCHlch(64.5 69.1 105.1)
OKLCHoklch(0.687 0.152 112.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da302 on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#9da302 on black: 7.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green63.9%
Blue0.8%

CMYK percentages

Cyan3.7%
Magenta0.0%
Yellow98.8%
Key (black)36.1%

Color previews

#9da302 text on a black background

contrast 7.67:1

Card sample

#9da302 text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da302

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da302 in the Color Lab