Skip to content

#ffcf64

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

RGB
255, 207, 100
HSL
41°, 100%, 70%
CMYK
0, 19, 61, 0
Luminance
0.6681

Every format

HEX#ffcf64
RGBrgb(255, 207, 100)
HSLhsl(41, 100%, 70%)
CMYKcmyk(0%, 19%, 61%, 0%)
LABlab(85.4 5.3 58.4)
LCHlch(85.4 58.6 84.8)
OKLCHoklch(0.876 0.135 85.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcf64 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#ffcf64 on black: 14.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow60.8%
Key (black)0.0%

Color previews

#ffcf64 text on a black background

contrast 14.36:1

Card sample

#ffcf64 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcf64 in the Color Lab