Skip to content

#f7bc2c

a balanced, electric yellow · warm · closest name: orange

RGB
247, 188, 44
HSL
43°, 93%, 57%
CMYK
0, 24, 82, 3
Luminance
0.5592

Every format

HEX#f7bc2c
RGBrgb(247, 188, 44)
HSLhsl(43, 93%, 57%)
CMYKcmyk(0%, 24%, 82%, 3%)
LABlab(79.6 9.2 74.0)
LCHlch(79.6 74.6 82.9)
OKLCHoklch(0.827 0.159 83.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7bc2c on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#f7bc2c on black: 12.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green73.7%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow82.2%
Key (black)3.1%

Color previews

#f7bc2c text on a black background

contrast 12.18:1

Card sample

#f7bc2c text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 188, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 188, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7bc2c;
background: linear-gradient(135deg, #f7bc2c, #ABF72C);

Monochromatic scale

Palettes built from #f7bc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7bc2c in the Color Lab