Skip to content

#f7f3ba

a light, electric yellow · cool · closest name: beige

RGB
247, 243, 186
HSL
56°, 79%, 85%
CMYK
0, 2, 25, 3
Luminance
0.8742

Every format

HEX#f7f3ba
RGBrgb(247, 243, 186)
HSLhsl(56, 79%, 85%)
CMYKcmyk(0%, 2%, 25%, 3%)
LABlab(94.9 -7.4 28.1)
LCHlch(94.9 29.0 104.9)
OKLCHoklch(0.954 0.073 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7f3ba on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f7f3ba on black: 18.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green95.3%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow24.7%
Key (black)3.1%

Color previews

#f7f3ba text on a black background

contrast 18.48:1

Card sample

#f7f3ba text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7f3ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7f3ba in the Color Lab