Skip to content

#ccce2d

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

RGB
204, 206, 45
HSL
61°, 64%, 49%
CMYK
1, 0, 78, 19
Luminance
0.5717

Every format

HEX#ccce2d
RGBrgb(204, 206, 45)
HSLhsl(61, 64%, 49%)
CMYKcmyk(1%, 0%, 78%, 19%)
LABlab(80.3 -18.3 72.8)
LCHlch(80.3 75.1 104.1)
OKLCHoklch(0.824 0.169 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccce2d on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ccce2d on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.8%
Blue17.6%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow78.2%
Key (black)19.2%

Color previews

#ccce2d text on a black background

contrast 12.43:1

Card sample

#ccce2d text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 206, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 206, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccce2d;
background: linear-gradient(135deg, #ccce2d, #61CE2D);

Monochromatic scale

Palettes built from #ccce2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccce2d in the Color Lab