Skip to content

#cabd49

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

RGB
202, 189, 73
HSL
54°, 55%, 54%
CMYK
0, 6, 64, 21
Luminance
0.4943

Every format

HEX#cabd49
RGBrgb(202, 189, 73)
HSLhsl(54, 55%, 54%)
CMYKcmyk(0%, 6%, 64%, 21%)
LABlab(75.7 -9.3 58.3)
LCHlch(75.7 59.0 99.0)
OKLCHoklch(0.787 0.136 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cabd49 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cabd49 on black: 10.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green74.1%
Blue28.6%

CMYK percentages

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

Color previews

#cabd49 text on a black background

contrast 10.89:1

Card sample

#cabd49 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cabd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cabd49 in the Color Lab