Skip to content

#f4cd3d

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

RGB
244, 205, 61
HSL
47°, 89%, 60%
CMYK
0, 16, 75, 4
Luminance
0.6323

Every format

HEX#f4cd3d
RGBrgb(244, 205, 61)
HSLhsl(47, 89%, 60%)
CMYKcmyk(0%, 16%, 75%, 4%)
LABlab(83.6 -0.3 72.0)
LCHlch(83.6 72.0 90.2)
OKLCHoklch(0.858 0.158 93.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4cd3d on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#f4cd3d on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green80.4%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta16.0%
Yellow75.0%
Key (black)4.3%

Color previews

#f4cd3d text on a black background

contrast 13.65:1

Card sample

#f4cd3d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(244, 205, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 205, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4cd3d;
background: linear-gradient(135deg, #f4cd3d, #A1F43D);

Monochromatic scale

Palettes built from #f4cd3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4cd3d in the Color Lab