Skip to content

#ffeb4e

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

RGB
255, 235, 78
HSL
53°, 100%, 65%
CMYK
0, 8, 69, 0
Luminance
0.8123

Every format

HEX#ffeb4e
RGBrgb(255, 235, 78)
HSLhsl(53, 100%, 65%)
CMYKcmyk(0%, 8%, 69%, 0%)
LABlab(92.2 -10.0 74.7)
LCHlch(92.2 75.4 97.7)
OKLCHoklch(0.930 0.170 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffeb4e on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ffeb4e on black: 17.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.2%
Blue30.6%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow69.4%
Key (black)0.0%

Color previews

#ffeb4e text on a black background

contrast 17.25:1

Card sample

#ffeb4e text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb4e in the Color Lab