Skip to content

#f3ab0f

a balanced, electric yellow · warm · closest name: orange

RGB
243, 171, 15
HSL
41°, 91%, 51%
CMYK
0, 30, 94, 5
Luminance
0.4821

Every format

HEX#f3ab0f
RGBrgb(243, 171, 15)
HSLhsl(41, 91%, 51%)
CMYKcmyk(0%, 30%, 94%, 5%)
LABlab(75.0 15.8 76.6)
LCHlch(75.0 78.2 78.3)
OKLCHoklch(0.790 0.163 77.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3ab0f on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#f3ab0f on black: 10.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green67.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta29.6%
Yellow93.8%
Key (black)4.7%

Color previews

#f3ab0f text on a black background

contrast 10.64:1

Card sample

#f3ab0f text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3ab0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3ab0f in the Color Lab