Skip to content

#ffe68f

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

RGB
255, 230, 143
HSL
47°, 100%, 78%
CMYK
0, 10, 44, 0
Luminance
0.7984

Every format

HEX#ffe68f
RGBrgb(255, 230, 143)
HSLhsl(47, 100%, 78%)
CMYKcmyk(0%, 10%, 44%, 0%)
LABlab(91.6 -2.9 45.4)
LCHlch(91.6 45.5 93.6)
OKLCHoklch(0.927 0.110 93.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe68f on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ffe68f on black: 16.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green90.2%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta9.8%
Yellow43.9%
Key (black)0.0%

Color previews

#ffe68f text on a black background

contrast 16.97:1

Card sample

#ffe68f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe68f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe68f in the Color Lab