Skip to content

#ffef35

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

RGB
255, 239, 53
HSL
55°, 100%, 60%
CMYK
0, 6, 79, 0
Luminance
0.8325

Every format

HEX#ffef35
RGBrgb(255, 239, 53)
HSLhsl(55, 100%, 60%)
CMYKcmyk(0%, 6%, 79%, 0%)
LABlab(93.1 -13.0 83.5)
LCHlch(93.1 84.5 98.8)
OKLCHoklch(0.936 0.186 104.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffef35 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ffef35 on black: 17.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.7%
Blue20.8%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow79.2%
Key (black)0.0%

Color previews

#ffef35 text on a black background

contrast 17.65:1

Card sample

#ffef35 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 239, 53, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 239, 53, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffef35;
background: linear-gradient(135deg, #ffef35, #89FF35);

Monochromatic scale

Palettes built from #ffef35

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffef35 in the Color Lab