Skip to content

#f3d950

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

RGB
243, 217, 80
HSL
50°, 87%, 63%
CMYK
0, 11, 67, 5
Luminance
0.6926

Every format

HEX#f3d950
RGBrgb(243, 217, 80)
HSLhsl(50, 87%, 63%)
CMYKcmyk(0%, 11%, 67%, 5%)
LABlab(86.6 -5.9 68.0)
LCHlch(86.6 68.2 95.0)
OKLCHoklch(0.883 0.154 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3d950 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#f3d950 on black: 14.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green85.1%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta10.7%
Yellow67.1%
Key (black)4.7%

Color previews

#f3d950 text on a black background

contrast 14.85:1

Card sample

#f3d950 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3d950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3d950 in the Color Lab