Skip to content

#dfd25b

a balanced, vivid yellow · cool · closest name: khaki

RGB
223, 210, 91
HSL
54°, 67%, 62%
CMYK
0, 6, 59, 13
Luminance
0.6254

Every format

HEX#dfd25b
RGBrgb(223, 210, 91)
HSLhsl(54, 67%, 62%)
CMYKcmyk(0%, 6%, 59%, 13%)
LABlab(83.2 -10.0 59.2)
LCHlch(83.2 60.0 99.6)
OKLCHoklch(0.852 0.140 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd25b on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#dfd25b on black: 13.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.4%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow59.2%
Key (black)12.5%

Color previews

#dfd25b text on a black background

contrast 13.51:1

Card sample

#dfd25b text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 210, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 210, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd25b;
background: linear-gradient(135deg, #dfd25b, #94DF5B);

Monochromatic scale

Palettes built from #dfd25b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd25b in the Color Lab