Skip to content

#f6eea2

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

RGB
246, 238, 162
HSL
54°, 82%, 80%
CMYK
0, 3, 34, 4
Luminance
0.8335

Every format

HEX#f6eea2
RGBrgb(246, 238, 162)
HSLhsl(54, 82%, 80%)
CMYKcmyk(0%, 3%, 34%, 4%)
LABlab(93.2 -8.3 37.8)
LCHlch(93.2 38.7 102.4)
OKLCHoklch(0.938 0.096 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6eea2 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#f6eea2 on black: 17.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green93.3%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta3.3%
Yellow34.1%
Key (black)3.5%

Color previews

#f6eea2 text on a black background

contrast 17.67:1

Card sample

#f6eea2 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(246, 238, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(246, 238, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f6eea2;
background: linear-gradient(135deg, #f6eea2, #C6F6A2);

Monochromatic scale

Palettes built from #f6eea2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6eea2 in the Color Lab