Skip to content

#acb261

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

RGB
172, 178, 97
HSL
64°, 35%, 54%
CMYK
3, 0, 46, 30
Luminance
0.4147

Every format

HEX#acb261
RGBrgb(172, 178, 97)
HSLhsl(64, 35%, 54%)
CMYKcmyk(3%, 0%, 46%, 30%)
LABlab(70.5 -14.2 40.5)
LCHlch(70.5 42.9 109.3)
OKLCHoklch(0.741 0.105 112.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acb261 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#acb261 on black: 9.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green69.8%
Blue38.0%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow45.5%
Key (black)30.2%

Color previews

#acb261 text on a black background

contrast 9.29:1

Card sample

#acb261 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acb261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acb261 in the Color Lab