Skip to content

#ffebc3

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

RGB
255, 235, 195
HSL
40°, 100%, 88%
CMYK
0, 8, 24, 0
Luminance
0.8462

Every format

HEX#ffebc3
RGBrgb(255, 235, 195)
HSLhsl(40, 100%, 88%)
CMYKcmyk(0%, 8%, 24%, 0%)
LABlab(93.7 0.7 21.9)
LCHlch(93.7 21.9 88.1)
OKLCHoklch(0.946 0.056 84.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue76.5%

CMYK percentages

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

Color previews

#ffebc3 text on a black background

contrast 17.92:1

Card sample

#ffebc3 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffebc3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffebc3 in the Color Lab