Skip to content

#ffe430

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

RGB
255, 228, 48
HSL
52°, 100%, 59%
CMYK
0, 11, 81, 0
Luminance
0.7696

Every format

HEX#ffe430
RGBrgb(255, 228, 48)
HSLhsl(52, 100%, 59%)
CMYKcmyk(0%, 11%, 81%, 0%)
LABlab(90.3 -7.7 82.4)
LCHlch(90.3 82.7 95.3)
OKLCHoklch(0.914 0.180 100.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe430 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#ffe430 on black: 16.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green89.4%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta10.6%
Yellow81.2%
Key (black)0.0%

Color previews

#ffe430 text on a black background

contrast 16.39:1

Card sample

#ffe430 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe430 in the Color Lab