Skip to content

#c9df49

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

RGB
201, 223, 73
HSL
69°, 70%, 58%
CMYK
10, 0, 67, 13
Luminance
0.6567

Every format

HEX#c9df49
RGBrgb(201, 223, 73)
HSLhsl(69, 70%, 58%)
CMYKcmyk(10%, 0%, 67%, 13%)
LABlab(84.8 -26.5 67.8)
LCHlch(84.8 72.8 111.4)
OKLCHoklch(0.860 0.172 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9df49 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#c9df49 on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green87.5%
Blue28.6%

CMYK percentages

Cyan9.9%
Magenta0.0%
Yellow67.3%
Key (black)12.5%

Color previews

#c9df49 text on a black background

contrast 14.13:1

Card sample

#c9df49 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 223, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 223, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9df49;
background: linear-gradient(135deg, #c9df49, #65DF49);

Monochromatic scale

Palettes built from #c9df49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9df49 in the Color Lab