Skip to content

#f4ce2f

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

RGB
244, 206, 47
HSL
48°, 90%, 57%
CMYK
0, 16, 81, 4
Luminance
0.6358

Every format

HEX#f4ce2f
RGBrgb(244, 206, 47)
HSLhsl(48, 90%, 57%)
CMYKcmyk(0%, 16%, 81%, 4%)
LABlab(83.8 -1.3 76.6)
LCHlch(83.8 76.6 91.0)
OKLCHoklch(0.860 0.165 94.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4ce2f on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#f4ce2f on black: 13.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green80.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta15.6%
Yellow80.7%
Key (black)4.3%

Color previews

#f4ce2f text on a black background

contrast 13.72:1

Card sample

#f4ce2f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 206, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 206, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ce2f;
background: linear-gradient(135deg, #f4ce2f, #97F42F);

Monochromatic scale

Palettes built from #f4ce2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4ce2f in the Color Lab