Skip to content

#cfbc2e

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

RGB
207, 188, 46
HSL
53°, 64%, 50%
CMYK
0, 9, 78, 19
Luminance
0.4943

Every format

HEX#cfbc2e
RGBrgb(207, 188, 46)
HSLhsl(53, 64%, 50%)
CMYKcmyk(0%, 9%, 78%, 19%)
LABlab(75.7 -7.9 68.5)
LCHlch(75.7 69.0 96.6)
OKLCHoklch(0.788 0.152 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green73.7%
Blue18.0%

CMYK percentages

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

Color previews

#cfbc2e text on a black background

contrast 10.89:1

Card sample

#cfbc2e text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbc2e in the Color Lab