Skip to content

#ffebc2

a pale, electric yellow · warm · closest name: beige

RGB
255, 235, 194
HSL
40°, 100%, 88%
CMYK
0, 8, 24, 0
Luminance
0.8457

Every format

HEX#ffebc2
RGBrgb(255, 235, 194)
HSLhsl(40, 100%, 88%)
CMYKcmyk(0%, 8%, 24%, 0%)
LABlab(93.7 0.6 22.4)
LCHlch(93.7 22.4 88.5)
OKLCHoklch(0.946 0.057 85.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffebc2 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ffebc2 on black: 17.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.2%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow23.9%
Key (black)0.0%

Color previews

#ffebc2 text on a black background

contrast 17.91:1

Card sample

#ffebc2 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebc2 in the Color Lab