Skip to content

#f4ebaa

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

RGB
244, 235, 170
HSL
53°, 77%, 81%
CMYK
0, 4, 30, 4
Luminance
0.8155

Every format

HEX#f4ebaa
RGBrgb(244, 235, 170)
HSLhsl(53, 77%, 81%)
CMYKcmyk(0%, 4%, 30%, 4%)
LABlab(92.4 -6.6 32.7)
LCHlch(92.4 33.4 101.4)
OKLCHoklch(0.932 0.083 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4ebaa on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#f4ebaa on black: 17.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green92.2%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta3.7%
Yellow30.3%
Key (black)4.3%

Color previews

#f4ebaa text on a black background

contrast 17.31:1

Card sample

#f4ebaa text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 235, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 235, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ebaa;
background: linear-gradient(135deg, #f4ebaa, #CCF4AA);

Monochromatic scale

Palettes built from #f4ebaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4ebaa in the Color Lab