Skip to content

#ffcd6c

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

RGB
255, 205, 108
HSL
40°, 100%, 71%
CMYK
0, 20, 58, 0
Luminance
0.6601

Every format

HEX#ffcd6c
RGBrgb(255, 205, 108)
HSLhsl(40, 100%, 71%)
CMYKcmyk(0%, 20%, 58%, 0%)
LABlab(85.0 6.9 54.2)
LCHlch(85.0 54.7 82.7)
OKLCHoklch(0.873 0.128 82.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcd6c on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#ffcd6c on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.4%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow57.6%
Key (black)0.0%

Color previews

#ffcd6c text on a black background

contrast 14.20:1

Card sample

#ffcd6c text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd6c in the Color Lab