Skip to content

#ffcf8c

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

RGB
255, 207, 140
HSL
35°, 100%, 78%
CMYK
0, 19, 45, 0
Luminance
0.6778

Every format

HEX#ffcf8c
RGBrgb(255, 207, 140)
HSLhsl(35, 100%, 78%)
CMYKcmyk(0%, 19%, 45%, 0%)
LABlab(85.9 8.6 39.6)
LCHlch(85.9 40.5 77.7)
OKLCHoklch(0.882 0.100 75.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcf8c on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#ffcf8c on black: 14.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow45.1%
Key (black)0.0%

Color previews

#ffcf8c text on a black background

contrast 14.56:1

Card sample

#ffcf8c text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcf8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcf8c in the Color Lab