Skip to content

#9da81e

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

RGB
157, 168, 30
HSL
65°, 70%, 39%
CMYK
7, 0, 82, 34
Luminance
0.3527

Every format

HEX#9da81e
RGBrgb(157, 168, 30)
HSLhsl(65, 70%, 39%)
CMYKcmyk(7%, 0%, 82%, 34%)
LABlab(66.0 -20.0 62.9)
LCHlch(66.0 66.0 107.6)
OKLCHoklch(0.700 0.150 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da81e on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#9da81e on black: 8.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green65.9%
Blue11.8%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow82.1%
Key (black)34.1%

Color previews

#9da81e text on a black background

contrast 8.05:1

Card sample

#9da81e text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 168, 30, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 168, 30, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9da81e;
background: linear-gradient(135deg, #9da81e, #41A81E);

Monochromatic scale

Palettes built from #9da81e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da81e in the Color Lab