Skip to content

#9da828

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

RGB
157, 168, 40
HSL
65°, 62%, 41%
CMYK
7, 0, 76, 34
Luminance
0.3533

Every format

HEX#9da828
RGBrgb(157, 168, 40)
HSLhsl(65, 62%, 41%)
CMYKcmyk(7%, 0%, 76%, 34%)
LABlab(66.0 -19.6 60.0)
LCHlch(66.0 63.1 108.1)
OKLCHoklch(0.700 0.145 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da828 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#9da828 on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green65.9%
Blue15.7%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow76.2%
Key (black)34.1%

Color previews

#9da828 text on a black background

contrast 8.07:1

Card sample

#9da828 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da828

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da828 in the Color Lab