Skip to content

#f4d968

a light, electric yellow · cool · closest name: khaki

RGB
244, 217, 104
HSL
48°, 86%, 68%
CMYK
0, 11, 57, 4
Luminance
0.6986

Every format

HEX#f4d968
RGBrgb(244, 217, 104)
HSLhsl(48, 86%, 68%)
CMYKcmyk(0%, 11%, 57%, 4%)
LABlab(86.9 -4.0 58.0)
LCHlch(86.9 58.2 93.9)
OKLCHoklch(0.886 0.136 96.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4d968 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f4d968 on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green85.1%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta11.1%
Yellow57.4%
Key (black)4.3%

Color previews

#f4d968 text on a black background

contrast 14.97:1

Card sample

#f4d968 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4d968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4d968 in the Color Lab