Skip to content

#f7ffbc

a pale, electric yellow · cool · closest name: khaki

RGB
247, 255, 188
HSL
67°, 100%, 87%
CMYK
3, 0, 26, 0
Luminance
0.9492

Every format

HEX#f7ffbc
RGBrgb(247, 255, 188)
HSLhsl(67, 100%, 87%)
CMYKcmyk(3%, 0%, 26%, 0%)
LABlab(98.0 -13.1 31.2)
LCHlch(98.0 33.9 112.8)
OKLCHoklch(0.978 0.086 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7ffbc on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#f7ffbc on black: 19.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green100.0%
Blue73.7%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow26.3%
Key (black)0.0%

Color previews

#f7ffbc text on a black background

contrast 19.98:1

Card sample

#f7ffbc text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7ffbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7ffbc in the Color Lab