Skip to content

#f4d430

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

RGB
244, 212, 48
HSL
50°, 90%, 57%
CMYK
0, 13, 80, 4
Luminance
0.6653

Every format

HEX#f4d430
RGBrgb(244, 212, 48)
HSLhsl(50, 90%, 57%)
CMYKcmyk(0%, 13%, 80%, 4%)
LABlab(85.3 -4.3 77.7)
LCHlch(85.3 77.8 93.2)
OKLCHoklch(0.872 0.169 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4d430 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#f4d430 on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green83.1%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta13.1%
Yellow80.3%
Key (black)4.3%

Color previews

#f4d430 text on a black background

contrast 14.31:1

Card sample

#f4d430 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 212, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 212, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4d430;
background: linear-gradient(135deg, #f4d430, #91F430);

Monochromatic scale

Palettes built from #f4d430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4d430 in the Color Lab