Skip to content

#ccda3f

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

RGB
204, 218, 63
HSL
65°, 68%, 55%
CMYK
6, 0, 71, 15
Luminance
0.6334

Every format

HEX#ccda3f
RGBrgb(204, 218, 63)
HSLhsl(65, 68%, 55%)
CMYKcmyk(6%, 0%, 71%, 15%)
LABlab(83.6 -23.4 70.2)
LCHlch(83.6 74.0 108.5)
OKLCHoklch(0.851 0.171 114.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccda3f on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ccda3f on black: 13.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green85.5%
Blue24.7%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow71.1%
Key (black)14.5%

Color previews

#ccda3f text on a black background

contrast 13.67:1

Card sample

#ccda3f text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 218, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 218, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccda3f;
background: linear-gradient(135deg, #ccda3f, #65DA3F);

Monochromatic scale

Palettes built from #ccda3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccda3f in the Color Lab