Skip to content

#ffcf4d

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

RGB
255, 207, 77
HSL
44°, 100%, 65%
CMYK
0, 19, 70, 0
Luminance
0.6642

Every format

HEX#ffcf4d
RGBrgb(255, 207, 77)
HSLhsl(44, 100%, 65%)
CMYKcmyk(0%, 19%, 70%, 0%)
LABlab(85.2 4.0 68.0)
LCHlch(85.2 68.2 86.6)
OKLCHoklch(0.874 0.152 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcf4d on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#ffcf4d on black: 14.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue30.2%

CMYK percentages

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

Color previews

#ffcf4d text on a black background

contrast 14.28:1

Card sample

#ffcf4d text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcf4d in the Color Lab