Skip to content

#cfbc32

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

RGB
207, 188, 50
HSL
53°, 62%, 50%
CMYK
0, 9, 76, 19
Luminance
0.4946

Every format

HEX#cfbc32
RGBrgb(207, 188, 50)
HSLhsl(53, 62%, 50%)
CMYKcmyk(0%, 9%, 76%, 19%)
LABlab(75.7 -7.8 67.2)
LCHlch(75.7 67.7 96.6)
OKLCHoklch(0.788 0.150 101.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbc32 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cfbc32 on black: 10.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green73.7%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow75.8%
Key (black)18.8%

Color previews

#cfbc32 text on a black background

contrast 10.89:1

Card sample

#cfbc32 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 188, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 188, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfbc32;
background: linear-gradient(135deg, #cfbc32, #79CF32);

Monochromatic scale

Palettes built from #cfbc32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbc32 in the Color Lab