Skip to content

#c2b261

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

RGB
194, 178, 97
HSL
50°, 44%, 57%
CMYK
0, 8, 50, 24
Luminance
0.4417

Every format

HEX#c2b261
RGBrgb(194, 178, 97)
HSLhsl(50, 44%, 57%)
CMYKcmyk(0%, 8%, 50%, 24%)
LABlab(72.3 -5.1 43.1)
LCHlch(72.3 43.5 96.7)
OKLCHoklch(0.760 0.104 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green69.8%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow50.0%
Key (black)23.9%

Color previews

#c2b261 text on a black background

contrast 9.83:1

Card sample

#c2b261 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2b261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2b261 in the Color Lab