Skip to content

#f3ffac

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

RGB
243, 255, 172
HSL
69°, 100%, 84%
CMYK
5, 0, 33, 0
Luminance
0.9355

Every format

HEX#f3ffac
RGBrgb(243, 255, 172)
HSLhsl(69, 100%, 84%)
CMYKcmyk(5%, 0%, 33%, 0%)
LABlab(97.5 -16.6 38.4)
LCHlch(97.5 41.9 113.4)
OKLCHoklch(0.972 0.105 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3ffac on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f3ffac on black: 19.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green100.0%
Blue67.5%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow32.5%
Key (black)0.0%

Color previews

#f3ffac text on a black background

contrast 19.71:1

Card sample

#f3ffac text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3ffac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3ffac in the Color Lab