Skip to content

#ffefba

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

RGB
255, 239, 186
HSL
46°, 100%, 87%
CMYK
0, 6, 27, 0
Luminance
0.8654

Every format

HEX#ffefba
RGBrgb(255, 239, 186)
HSLhsl(46, 100%, 87%)
CMYKcmyk(0%, 6%, 27%, 0%)
LABlab(94.5 -2.5 27.6)
LCHlch(94.5 27.8 95.1)
OKLCHoklch(0.952 0.070 93.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffefba on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ffefba on black: 18.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.7%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow27.1%
Key (black)0.0%

Color previews

#ffefba text on a black background

contrast 18.31:1

Card sample

#ffefba text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffefba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffefba in the Color Lab