Skip to content

#9da27b

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

RGB
157, 162, 123
HSL
68°, 17%, 56%
CMYK
3, 0, 24, 37
Luminance
0.3444

Every format

HEX#9da27b
RGBrgb(157, 162, 123)
HSLhsl(68, 17%, 56%)
CMYKcmyk(3%, 0%, 24%, 37%)
LABlab(65.3 -8.5 19.7)
LCHlch(65.3 21.5 113.4)
OKLCHoklch(0.698 0.055 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da27b on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#9da27b on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green63.5%
Blue48.2%

CMYK percentages

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

Color previews

#9da27b text on a black background

contrast 7.89:1

Card sample

#9da27b text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da27b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da27b in the Color Lab