Skip to content

#bfd03f

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

RGB
191, 208, 63
HSL
67°, 61%, 53%
CMYK
8, 0, 70, 18
Luminance
0.5655

Every format

HEX#bfd03f
RGBrgb(191, 208, 63)
HSLhsl(67, 61%, 53%)
CMYKcmyk(8%, 0%, 70%, 18%)
LABlab(79.9 -23.9 66.3)
LCHlch(79.9 70.5 109.9)
OKLCHoklch(0.819 0.165 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfd03f on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#bfd03f on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green81.6%
Blue24.7%

CMYK percentages

Cyan8.2%
Magenta0.0%
Yellow69.7%
Key (black)18.4%

Color previews

#bfd03f text on a black background

contrast 12.31:1

Card sample

#bfd03f text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 208, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 208, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfd03f;
background: linear-gradient(135deg, #bfd03f, #5ED03F);

Monochromatic scale

Palettes built from #bfd03f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfd03f in the Color Lab