Skip to content

#ffee4b

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

RGB
255, 238, 75
HSL
54°, 100%, 65%
CMYK
0, 7, 71, 0
Luminance
0.8292

Every format

HEX#ffee4b
RGBrgb(255, 238, 75)
HSLhsl(54, 100%, 65%)
CMYKcmyk(0%, 7%, 71%, 0%)
LABlab(93.0 -11.7 76.5)
LCHlch(93.0 77.4 98.7)
OKLCHoklch(0.935 0.174 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green93.3%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow70.6%
Key (black)0.0%

Color previews

#ffee4b text on a black background

contrast 17.58:1

Card sample

#ffee4b text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 238, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 238, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffee4b;
background: linear-gradient(135deg, #ffee4b, #98FF4B);

Monochromatic scale

Palettes built from #ffee4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee4b in the Color Lab