Skip to content

#ffd968

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

RGB
255, 217, 104
HSL
45°, 100%, 70%
CMYK
0, 15, 59, 0
Luminance
0.7189

Every format

HEX#ffd968
RGBrgb(255, 217, 104)
HSLhsl(45, 100%, 70%)
CMYKcmyk(0%, 15%, 59%, 0%)
LABlab(87.9 0.5 59.4)
LCHlch(87.9 59.4 89.5)
OKLCHoklch(0.896 0.138 90.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd968 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ffd968 on black: 15.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.1%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow59.2%
Key (black)0.0%

Color previews

#ffd968 text on a black background

contrast 15.38:1

Card sample

#ffd968 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd968 in the Color Lab