Skip to content

#f4eb26

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

RGB
244, 235, 38
HSL
57°, 90%, 55%
CMYK
0, 4, 84, 4
Luminance
0.7879

Every format

HEX#f4eb26
RGBrgb(244, 235, 38)
HSLhsl(57, 90%, 55%)
CMYKcmyk(0%, 4%, 84%, 4%)
LABlab(91.1 -16.0 85.0)
LCHlch(91.1 86.5 100.7)
OKLCHoklch(0.918 0.190 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4eb26 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f4eb26 on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green92.2%
Blue14.9%

CMYK percentages

Cyan0.0%
Magenta3.7%
Yellow84.4%
Key (black)4.3%

Color previews

#f4eb26 text on a black background

contrast 16.76:1

Card sample

#f4eb26 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 235, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 235, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4eb26;
background: linear-gradient(135deg, #f4eb26, #74F426);

Monochromatic scale

Palettes built from #f4eb26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4eb26 in the Color Lab