Skip to content

#ffcf82

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

RGB
255, 207, 130
HSL
37°, 100%, 76%
CMYK
0, 19, 49, 0
Luminance
0.6750

Every format

HEX#ffcf82
RGBrgb(255, 207, 130)
HSLhsl(37, 100%, 76%)
CMYKcmyk(0%, 19%, 49%, 0%)
LABlab(85.8 7.7 44.5)
LCHlch(85.8 45.1 80.2)
OKLCHoklch(0.880 0.109 78.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcf82 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#ffcf82 on black: 14.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue51.0%

CMYK percentages

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

Color previews

#ffcf82 text on a black background

contrast 14.50:1

Card sample

#ffcf82 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcf82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcf82 in the Color Lab