Skip to content

#ffeb4d

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

RGB
255, 235, 77
HSL
53°, 100%, 65%
CMYK
0, 8, 70, 0
Luminance
0.8121

Every format

HEX#ffeb4d
RGBrgb(255, 235, 77)
HSLhsl(53, 100%, 65%)
CMYKcmyk(0%, 8%, 70%, 0%)
LABlab(92.2 -10.1 75.1)
LCHlch(92.2 75.7 97.7)
OKLCHoklch(0.930 0.171 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ffeb4d text on a black background

contrast 17.24:1

Card sample

#ffeb4d text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb4d in the Color Lab