Skip to content

#fbcf0f

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

RGB
251, 207, 15
HSL
49°, 97%, 52%
CMYK
0, 18, 94, 2
Luminance
0.6517

Every format

HEX#fbcf0f
RGBrgb(251, 207, 15)
HSLhsl(49, 97%, 52%)
CMYKcmyk(0%, 18%, 94%, 2%)
LABlab(84.6 0.6 83.9)
LCHlch(84.6 83.9 89.6)
OKLCHoklch(0.867 0.176 93.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbcf0f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#fbcf0f on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green81.2%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow94.0%
Key (black)1.6%

Color previews

#fbcf0f text on a black background

contrast 14.03:1

Card sample

#fbcf0f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(251, 207, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 207, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fbcf0f;
background: linear-gradient(135deg, #fbcf0f, #8AFB0F);

Monochromatic scale

Palettes built from #fbcf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbcf0f in the Color Lab