Skip to content

#ccc90b

a dark, electric yellow · cool · closest name: gold

RGB
204, 201, 11
HSL
59°, 90%, 42%
CMYK
0, 2, 95, 20
Luminance
0.5463

Every format

HEX#ccc90b
RGBrgb(204, 201, 11)
HSLhsl(59, 90%, 42%)
CMYKcmyk(0%, 2%, 95%, 20%)
LABlab(78.8 -16.6 78.2)
LCHlch(78.8 80.0 102.0)
OKLCHoklch(0.812 0.174 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc90b on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ccc90b on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow94.6%
Key (black)20.0%

Color previews

#ccc90b text on a black background

contrast 11.93:1

Card sample

#ccc90b text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 201, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 201, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc90b;
background: linear-gradient(135deg, #ccc90b, #4ECC0B);

Monochromatic scale

Palettes built from #ccc90b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc90b in the Color Lab