Skip to content

#ccbf2f

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

RGB
204, 191, 47
HSL
55°, 63%, 49%
CMYK
0, 6, 77, 20
Luminance
0.5030

Every format

HEX#ccbf2f
RGBrgb(204, 191, 47)
HSLhsl(55, 63%, 49%)
CMYKcmyk(0%, 6%, 77%, 20%)
LABlab(76.3 -10.7 68.6)
LCHlch(76.3 69.4 98.9)
OKLCHoklch(0.792 0.154 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbf2f on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#ccbf2f on black: 11.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green74.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow77.0%
Key (black)20.0%

Color previews

#ccbf2f text on a black background

contrast 11.06:1

Card sample

#ccbf2f text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbf2f in the Color Lab