Skip to content

#dceb2f

a balanced, electric yellow · cool · closest name: yellow

RGB
220, 235, 47
HSL
65°, 83%, 55%
CMYK
6, 0, 80, 8
Luminance
0.7484

Every format

HEX#dceb2f
RGBrgb(220, 235, 47)
HSLhsl(65, 83%, 55%)
CMYKcmyk(6%, 0%, 80%, 8%)
LABlab(89.3 -25.7 80.7)
LCHlch(89.3 84.7 107.6)
OKLCHoklch(0.899 0.192 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dceb2f on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#dceb2f on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green92.2%
Blue18.4%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow80.0%
Key (black)7.8%

Color previews

#dceb2f text on a black background

contrast 15.97:1

Card sample

#dceb2f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 235, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 235, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dceb2f;
background: linear-gradient(135deg, #dceb2f, #5FEB2F);

Monochromatic scale

Palettes built from #dceb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dceb2f in the Color Lab