Skip to content

#ffeb5f

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

RGB
255, 235, 95
HSL
53°, 100%, 69%
CMYK
0, 8, 63, 0
Luminance
0.8150

Every format

HEX#ffeb5f
RGBrgb(255, 235, 95)
HSLhsl(53, 100%, 69%)
CMYKcmyk(0%, 8%, 63%, 0%)
LABlab(92.4 -9.1 68.2)
LCHlch(92.4 68.8 97.6)
OKLCHoklch(0.931 0.158 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffeb5f on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ffeb5f on black: 17.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow62.7%
Key (black)0.0%

Color previews

#ffeb5f text on a black background

contrast 17.30:1

Card sample

#ffeb5f text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb5f in the Color Lab