Skip to content

#f9d080

a light, electric orange · warm · closest name: khaki

RGB
249, 208, 128
HSL
40°, 91%, 74%
CMYK
0, 17, 49, 2
Luminance
0.6681

Every format

HEX#f9d080
RGBrgb(249, 208, 128)
HSLhsl(40, 91%, 74%)
CMYKcmyk(0%, 17%, 49%, 2%)
LABlab(85.4 4.6 44.9)
LCHlch(85.4 45.1 84.2)
OKLCHoklch(0.876 0.109 83.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9d080 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#f9d080 on black: 14.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green81.6%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow48.6%
Key (black)2.4%

Color previews

#f9d080 text on a black background

contrast 14.36:1

Card sample

#f9d080 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(249, 208, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 208, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9d080;
background: linear-gradient(135deg, #f9d080, #D1F980);

Monochromatic scale

Palettes built from #f9d080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9d080 in the Color Lab