Skip to content

#f3f02c

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

RGB
243, 240, 44
HSL
59°, 89%, 56%
CMYK
0, 1, 82, 5
Luminance
0.8156

Every format

HEX#f3f02c
RGBrgb(243, 240, 44)
HSLhsl(59, 89%, 56%)
CMYKcmyk(0%, 1%, 82%, 5%)
LABlab(92.4 -18.7 84.7)
LCHlch(92.4 86.7 102.4)
OKLCHoklch(0.928 0.192 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3f02c on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#f3f02c on black: 17.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green94.1%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow81.9%
Key (black)4.7%

Color previews

#f3f02c text on a black background

contrast 17.31:1

Card sample

#f3f02c text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 240, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 240, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3f02c;
background: linear-gradient(135deg, #f3f02c, #71F32C);

Monochromatic scale

Palettes built from #f3f02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3f02c in the Color Lab