Skip to content

#c1b261

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

RGB
193, 178, 97
HSL
51°, 44%, 57%
CMYK
0, 8, 50, 24
Luminance
0.4404

Every format

HEX#c1b261
RGBrgb(193, 178, 97)
HSLhsl(51, 44%, 57%)
CMYKcmyk(0%, 8%, 50%, 24%)
LABlab(72.3 -5.5 43.0)
LCHlch(72.3 43.4 97.3)
OKLCHoklch(0.759 0.104 99.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c1b261 on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#c1b261 on black: 9.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.7%
Green69.8%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow49.7%
Key (black)24.3%

Color previews

#c1b261 text on a black background

contrast 9.81:1

Card sample

#c1b261 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c1b261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c1b261 in the Color Lab