Skip to content

#9da270

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

RGB
157, 162, 112
HSL
66°, 21%, 54%
CMYK
3, 0, 31, 37
Luminance
0.3418

Every format

HEX#9da270
RGBrgb(157, 162, 112)
HSLhsl(66, 21%, 54%)
CMYKcmyk(3%, 0%, 31%, 37%)
LABlab(65.1 -10.1 25.5)
LCHlch(65.1 27.4 111.6)
OKLCHoklch(0.696 0.069 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da270 on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#9da270 on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green63.5%
Blue43.9%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow30.9%
Key (black)36.5%

Color previews

#9da270 text on a black background

contrast 7.84:1

Card sample

#9da270 text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da270

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da270 in the Color Lab