Skip to content

#bfcc56

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

RGB
191, 204, 86
HSL
67°, 54%, 57%
CMYK
6, 0, 58, 20
Luminance
0.5493

Every format

HEX#bfcc56
RGBrgb(191, 204, 86)
HSLhsl(67, 54%, 57%)
CMYKcmyk(6%, 0%, 58%, 20%)
LABlab(79.0 -20.5 56.0)
LCHlch(79.0 59.6 110.1)
OKLCHoklch(0.812 0.143 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfcc56 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#bfcc56 on black: 11.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green80.0%
Blue33.7%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow57.8%
Key (black)20.0%

Color previews

#bfcc56 text on a black background

contrast 11.99:1

Card sample

#bfcc56 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 204, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 204, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfcc56;
background: linear-gradient(135deg, #bfcc56, #70CC56);

Monochromatic scale

Palettes built from #bfcc56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfcc56 in the Color Lab