Skip to content

#ccce2f

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

RGB
204, 206, 47
HSL
61°, 63%, 50%
CMYK
1, 0, 77, 19
Luminance
0.5719

Every format

HEX#ccce2f
RGBrgb(204, 206, 47)
HSLhsl(61, 63%, 50%)
CMYKcmyk(1%, 0%, 77%, 19%)
LABlab(80.3 -18.3 72.2)
LCHlch(80.3 74.5 104.2)
OKLCHoklch(0.824 0.168 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green80.8%
Blue18.4%

CMYK percentages

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

Color previews

#ccce2f text on a black background

contrast 12.44:1

Card sample

#ccce2f text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccce2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccce2f in the Color Lab