Skip to content

#ffeb30

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

RGB
255, 235, 48
HSL
54°, 100%, 59%
CMYK
0, 8, 81, 0
Luminance
0.8089

Every format

HEX#ffeb30
RGBrgb(255, 235, 48)
HSLhsl(54, 100%, 59%)
CMYKcmyk(0%, 8%, 81%, 0%)
LABlab(92.1 -11.2 83.9)
LCHlch(92.1 84.6 97.6)
OKLCHoklch(0.928 0.185 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow81.2%
Key (black)0.0%

Color previews

#ffeb30 text on a black background

contrast 17.18:1

Card sample

#ffeb30 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb30 in the Color Lab