Skip to content

#cbae49

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

RGB
203, 174, 73
HSL
47°, 56%, 54%
CMYK
0, 14, 64, 20
Luminance
0.4345

Every format

HEX#cbae49
RGBrgb(203, 174, 73)
HSLhsl(47, 56%, 54%)
CMYKcmyk(0%, 14%, 64%, 20%)
LABlab(71.9 -1.0 54.2)
LCHlch(71.9 54.2 91.1)
OKLCHoklch(0.757 0.124 93.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbae49 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#cbae49 on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.2%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow64.0%
Key (black)20.4%

Color previews

#cbae49 text on a black background

contrast 9.69:1

Card sample

#cbae49 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 174, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 174, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbae49;
background: linear-gradient(135deg, #cbae49, #91CB49);

Monochromatic scale

Palettes built from #cbae49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbae49 in the Color Lab