Skip to content

#cbba49

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

RGB
203, 186, 73
HSL
52°, 56%, 54%
CMYK
0, 8, 64, 20
Luminance
0.4830

Every format

HEX#cbba49
RGBrgb(203, 186, 73)
HSLhsl(52, 56%, 54%)
CMYKcmyk(0%, 8%, 64%, 20%)
LABlab(75.0 -7.3 57.6)
LCHlch(75.0 58.0 97.2)
OKLCHoklch(0.782 0.133 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbba49 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#cbba49 on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow64.0%
Key (black)20.4%

Color previews

#cbba49 text on a black background

contrast 10.66:1

Card sample

#cbba49 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbba49 in the Color Lab