Skip to content

#ffeb5e

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

RGB
255, 235, 94
HSL
53°, 100%, 68%
CMYK
0, 8, 63, 0
Luminance
0.8148

Every format

HEX#ffeb5e
RGBrgb(255, 235, 94)
HSLhsl(53, 100%, 68%)
CMYKcmyk(0%, 8%, 63%, 0%)
LABlab(92.3 -9.2 68.6)
LCHlch(92.3 69.2 97.6)
OKLCHoklch(0.931 0.159 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue36.9%

CMYK percentages

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

Color previews

#ffeb5e text on a black background

contrast 17.30:1

Card sample

#ffeb5e text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb5e in the Color Lab