Skip to content

#ffeb68

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

RGB
255, 235, 104
HSL
52°, 100%, 70%
CMYK
0, 8, 59, 0
Luminance
0.8168

Every format

HEX#ffeb68
RGBrgb(255, 235, 104)
HSLhsl(52, 100%, 70%)
CMYKcmyk(0%, 8%, 59%, 0%)
LABlab(92.4 -8.6 64.5)
LCHlch(92.4 65.1 97.6)
OKLCHoklch(0.932 0.151 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green92.2%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow59.2%
Key (black)0.0%

Color previews

#ffeb68 text on a black background

contrast 17.34:1

Card sample

#ffeb68 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb68 in the Color Lab