Skip to content

#ffdb8b

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

RGB
255, 219, 139
HSL
41°, 100%, 77%
CMYK
0, 14, 46, 0
Luminance
0.7379

Every format

HEX#ffdb8b
RGBrgb(255, 219, 139)
HSLhsl(41, 100%, 77%)
CMYKcmyk(0%, 14%, 46%, 0%)
LABlab(88.8 2.4 43.8)
LCHlch(88.8 43.9 86.9)
OKLCHoklch(0.905 0.107 86.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdb8b on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#ffdb8b on black: 15.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.9%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow45.5%
Key (black)0.0%

Color previews

#ffdb8b text on a black background

contrast 15.76:1

Card sample

#ffdb8b text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb8b in the Color Lab