Skip to content

#ffeb3d

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

RGB
255, 235, 61
HSL
54°, 100%, 62%
CMYK
0, 8, 76, 0
Luminance
0.8101

Every format

HEX#ffeb3d
RGBrgb(255, 235, 61)
HSLhsl(54, 100%, 62%)
CMYKcmyk(0%, 8%, 76%, 0%)
LABlab(92.1 -10.8 80.3)
LCHlch(92.1 81.0 97.6)
OKLCHoklch(0.929 0.179 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow76.1%
Key (black)0.0%

Color previews

#ffeb3d text on a black background

contrast 17.20:1

Card sample

#ffeb3d text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb3d in the Color Lab