Skip to content

#aab261

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

RGB
170, 178, 97
HSL
66°, 35%, 54%
CMYK
5, 0, 46, 30
Luminance
0.4125

Every format

HEX#aab261
RGBrgb(170, 178, 97)
HSLhsl(66, 35%, 54%)
CMYKcmyk(5%, 0%, 46%, 30%)
LABlab(70.3 -15.0 40.3)
LCHlch(70.3 43.0 110.4)
OKLCHoklch(0.739 0.105 113.6)

Copy-ready code

/* CSS */
color: #aab261;
background-color: #aab261;
/* Tailwind (arbitrary) */
class="text-[#aab261] bg-[#aab261]"
/* SCSS */
$brand: #aab261;
/* SwiftUI */
Color(red: 0.667, green: 0.698, blue: 0.380)
/* Android */
Color.parseColor("#aab261")

Accessibility — WCAG contrast

Aa
#aab261 on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#aab261 on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green69.8%
Blue38.0%

CMYK percentages

Cyan4.5%
Magenta0.0%
Yellow45.5%
Key (black)30.2%

Color previews

#aab261 text on a black background

contrast 9.25:1

Card sample

#aab261 text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 178, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 178, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aab261;
background: linear-gradient(135deg, #aab261, #74B261);

Monochromatic scale

Palettes built from #aab261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aab261 in the Color Lab