Skip to content

#f3cd3d

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

RGB
243, 205, 61
HSL
48°, 88%, 60%
CMYK
0, 16, 75, 5
Luminance
0.6305

Every format

HEX#f3cd3d
RGBrgb(243, 205, 61)
HSLhsl(48, 88%, 60%)
CMYKcmyk(0%, 16%, 75%, 5%)
LABlab(83.5 -0.7 71.9)
LCHlch(83.5 71.9 90.6)
OKLCHoklch(0.857 0.158 93.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.3%
Green80.4%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta15.6%
Yellow74.9%
Key (black)4.7%

Color previews

#f3cd3d text on a black background

contrast 13.61:1

Card sample

#f3cd3d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3cd3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3cd3d in the Color Lab