Skip to content

#c4b261

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

RGB
196, 178, 97
HSL
49°, 46%, 58%
CMYK
0, 9, 51, 23
Luminance
0.4444

Every format

HEX#c4b261
RGBrgb(196, 178, 97)
HSLhsl(49, 46%, 58%)
CMYKcmyk(0%, 9%, 51%, 23%)
LABlab(72.5 -4.3 43.4)
LCHlch(72.5 43.6 95.6)
OKLCHoklch(0.762 0.104 97.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4b261 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#c4b261 on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green69.8%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow50.5%
Key (black)23.1%

Color previews

#c4b261 text on a black background

contrast 9.89:1

Card sample

#c4b261 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4b261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4b261 in the Color Lab