Skip to content

#9da421

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

RGB
157, 164, 33
HSL
63°, 67%, 39%
CMYK
4, 0, 80, 36
Luminance
0.3383

Every format

HEX#9da421
RGBrgb(157, 164, 33)
HSLhsl(63, 67%, 39%)
CMYKcmyk(4%, 0%, 80%, 36%)
LABlab(64.8 -17.9 61.1)
LCHlch(64.8 63.7 106.3)
OKLCHoklch(0.691 0.144 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da421 on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#9da421 on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green64.3%
Blue12.9%

CMYK percentages

Cyan4.3%
Magenta0.0%
Yellow79.9%
Key (black)35.7%

Color previews

#9da421 text on a black background

contrast 7.77:1

Card sample

#9da421 text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da421

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da421 in the Color Lab