Skip to content

#caba49

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

RGB
202, 186, 73
HSL
53°, 55%, 54%
CMYK
0, 8, 64, 21
Luminance
0.4816

Every format

HEX#caba49
RGBrgb(202, 186, 73)
HSLhsl(53, 55%, 54%)
CMYKcmyk(0%, 8%, 64%, 21%)
LABlab(74.9 -7.7 57.5)
LCHlch(74.9 58.0 97.7)
OKLCHoklch(0.781 0.133 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caba49 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#caba49 on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow63.9%
Key (black)20.8%

Color previews

#caba49 text on a black background

contrast 10.63:1

Card sample

#caba49 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caba49 in the Color Lab