Skip to content

#ffe92c

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

RGB
255, 233, 44
HSL
54°, 100%, 59%
CMYK
0, 9, 83, 0
Luminance
0.7972

Every format

HEX#ffe92c
RGBrgb(255, 233, 44)
HSLhsl(54, 100%, 59%)
CMYKcmyk(0%, 9%, 83%, 0%)
LABlab(91.6 -10.3 84.4)
LCHlch(91.6 85.0 97.0)
OKLCHoklch(0.924 0.185 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe92c on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ffe92c on black: 16.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green91.4%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow82.7%
Key (black)0.0%

Color previews

#ffe92c text on a black background

contrast 16.94:1

Card sample

#ffe92c text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 233, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 233, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffe92c;
background: linear-gradient(135deg, #ffe92c, #88FF2C);

Monochromatic scale

Palettes built from #ffe92c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe92c in the Color Lab