Skip to content

#ffeb4f

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

RGB
255, 235, 79
HSL
53°, 100%, 66%
CMYK
0, 8, 69, 0
Luminance
0.8124

Every format

HEX#ffeb4f
RGBrgb(255, 235, 79)
HSLhsl(53, 100%, 66%)
CMYKcmyk(0%, 8%, 69%, 0%)
LABlab(92.2 -10.0 74.3)
LCHlch(92.2 75.0 97.7)
OKLCHoklch(0.930 0.169 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue31.0%

CMYK percentages

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

Color previews

#ffeb4f text on a black background

contrast 17.25:1

Card sample

#ffeb4f text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb4f in the Color Lab