Skip to content

#cabb49

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

RGB
202, 187, 73
HSL
53°, 55%, 54%
CMYK
0, 7, 64, 21
Luminance
0.4858

Every format

HEX#cabb49
RGBrgb(202, 187, 73)
HSLhsl(53, 55%, 54%)
CMYKcmyk(0%, 7%, 64%, 21%)
LABlab(75.2 -8.2 57.8)
LCHlch(75.2 58.3 98.1)
OKLCHoklch(0.783 0.134 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cabb49 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#cabb49 on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green73.3%
Blue28.6%

CMYK percentages

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

Color previews

#cabb49 text on a black background

contrast 10.72:1

Card sample

#cabb49 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cabb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cabb49 in the Color Lab