Skip to content

#ffff6e

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

RGB
255, 255, 110
HSL
60°, 100%, 72%
CMYK
0, 0, 57, 0
Luminance
0.9391

Every format

HEX#ffff6e
RGBrgb(255, 255, 110)
HSLhsl(60, 100%, 72%)
CMYKcmyk(0%, 0%, 57%, 0%)
LABlab(97.6 -17.9 67.7)
LCHlch(97.6 70.0 104.8)
OKLCHoklch(0.973 0.165 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffff6e on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#ffff6e on black: 19.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue43.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow56.9%
Key (black)0.0%

Color previews

#ffff6e text on a black background

contrast 19.78:1

Card sample

#ffff6e text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffff6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffff6e in the Color Lab