Skip to content

#cbbc2f

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

RGB
203, 188, 47
HSL
54°, 62%, 49%
CMYK
0, 7, 77, 20
Luminance
0.4887

Every format

HEX#cbbc2f
RGBrgb(203, 188, 47)
HSLhsl(54, 62%, 49%)
CMYKcmyk(0%, 7%, 77%, 20%)
LABlab(75.4 -9.6 67.8)
LCHlch(75.4 68.4 98.1)
OKLCHoklch(0.784 0.152 103.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbbc2f on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cbbc2f on black: 10.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green73.7%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.4%
Yellow76.8%
Key (black)20.4%

Color previews

#cbbc2f text on a black background

contrast 10.77:1

Card sample

#cbbc2f text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 188, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 188, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbbc2f;
background: linear-gradient(135deg, #cbbc2f, #72CB2F);

Monochromatic scale

Palettes built from #cbbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbbc2f in the Color Lab