Skip to content

#f3fba1

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

RGB
243, 251, 161
HSL
65°, 92%, 81%
CMYK
3, 0, 36, 2
Luminance
0.9062

Every format

HEX#f3fba1
RGBrgb(243, 251, 161)
HSLhsl(65, 92%, 81%)
CMYKcmyk(3%, 0%, 36%, 2%)
LABlab(96.3 -15.9 42.3)
LCHlch(96.3 45.2 110.7)
OKLCHoklch(0.962 0.113 112.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3fba1 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f3fba1 on black: 19.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green98.4%
Blue63.1%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow35.9%
Key (black)1.6%

Color previews

#f3fba1 text on a black background

contrast 19.12:1

Card sample

#f3fba1 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3fba1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3fba1 in the Color Lab