Skip to content

#ccc14b

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

RGB
204, 193, 75
HSL
55°, 56%, 55%
CMYK
0, 5, 63, 20
Luminance
0.5149

Every format

HEX#ccc14b
RGBrgb(204, 193, 75)
HSLhsl(55, 56%, 55%)
CMYKcmyk(0%, 5%, 63%, 20%)
LABlab(77.0 -10.3 58.9)
LCHlch(77.0 59.8 100.0)
OKLCHoklch(0.798 0.138 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc14b on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ccc14b on black: 11.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.7%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow63.2%
Key (black)20.0%

Color previews

#ccc14b text on a black background

contrast 11.30:1

Card sample

#ccc14b text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 193, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 193, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc14b;
background: linear-gradient(135deg, #ccc14b, #81CC4B);

Monochromatic scale

Palettes built from #ccc14b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc14b in the Color Lab