Skip to content

#9da102

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

RGB
157, 161, 2
HSL
62°, 98%, 32%
CMYK
3, 0, 99, 37
Luminance
0.3266

Every format

HEX#9da102
RGBrgb(157, 161, 2)
HSLhsl(62, 98%, 32%)
CMYKcmyk(3%, 0%, 99%, 37%)
LABlab(63.9 -17.0 66.3)
LCHlch(63.9 68.5 104.4)
OKLCHoklch(0.683 0.150 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da102 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#9da102 on black: 7.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green63.1%
Blue0.8%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow98.8%
Key (black)36.9%

Color previews

#9da102 text on a black background

contrast 7.53:1

Card sample

#9da102 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da102

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da102 in the Color Lab