Skip to content

#fbcf5f

a light, electric yellow · warm · closest name: khaki

RGB
251, 207, 95
HSL
43°, 95%, 68%
CMYK
0, 18, 62, 2
Luminance
0.6596

Every format

HEX#fbcf5f
RGBrgb(251, 207, 95)
HSLhsl(43, 95%, 68%)
CMYKcmyk(0%, 18%, 62%, 2%)
LABlab(85.0 3.4 60.1)
LCHlch(85.0 60.2 86.8)
OKLCHoklch(0.872 0.138 87.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbcf5f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#fbcf5f on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green81.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow62.2%
Key (black)1.6%

Color previews

#fbcf5f text on a black background

contrast 14.19:1

Card sample

#fbcf5f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbcf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbcf5f in the Color Lab