Skip to content

#c9da28

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

RGB
201, 218, 40
HSL
66°, 71%, 51%
CMYK
8, 0, 82, 15
Luminance
0.6271

Every format

HEX#c9da28
RGBrgb(201, 218, 40)
HSLhsl(66, 71%, 51%)
CMYKcmyk(8%, 0%, 82%, 15%)
LABlab(83.3 -25.6 76.7)
LCHlch(83.3 80.8 108.5)
OKLCHoklch(0.847 0.183 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9da28 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#c9da28 on black: 13.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green85.5%
Blue15.7%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow81.7%
Key (black)14.5%

Color previews

#c9da28 text on a black background

contrast 13.54:1

Card sample

#c9da28 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 218, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 218, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9da28;
background: linear-gradient(135deg, #c9da28, #52DA28);

Monochromatic scale

Palettes built from #c9da28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9da28 in the Color Lab