Skip to content

#9da254

a balanced, soft yellow · cool · closest name: olivedrab

RGB
157, 162, 84
HSL
64°, 32%, 48%
CMYK
3, 0, 48, 37
Luminance
0.3365

Every format

HEX#9da254
RGBrgb(157, 162, 84)
HSLhsl(64, 32%, 48%)
CMYKcmyk(3%, 0%, 48%, 37%)
LABlab(64.7 -13.4 39.7)
LCHlch(64.7 41.9 108.7)
OKLCHoklch(0.691 0.102 112.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da254 on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#9da254 on black: 7.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green63.5%
Blue32.9%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow48.1%
Key (black)36.5%

Color previews

#9da254 text on a black background

contrast 7.73:1

Card sample

#9da254 text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 162, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 162, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9da254;
background: linear-gradient(135deg, #9da254, #69A254);

Monochromatic scale

Palettes built from #9da254

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da254 in the Color Lab