Skip to content

#c4da21

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

RGB
196, 218, 33
HSL
67°, 74%, 49%
CMYK
10, 0, 85, 15
Luminance
0.6199

Every format

HEX#c4da21
RGBrgb(196, 218, 33)
HSLhsl(67, 74%, 49%)
CMYKcmyk(10%, 0%, 85%, 15%)
LABlab(82.9 -27.8 77.8)
LCHlch(82.9 82.6 109.7)
OKLCHoklch(0.843 0.188 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4da21 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#c4da21 on black: 13.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green85.5%
Blue12.9%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow84.9%
Key (black)14.5%

Color previews

#c4da21 text on a black background

contrast 13.40:1

Card sample

#c4da21 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 218, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 218, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4da21;
background: linear-gradient(135deg, #c4da21, #49DA21);

Monochromatic scale

Palettes built from #c4da21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4da21 in the Color Lab