Skip to content

#dfd25c

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

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

Every format

HEX#dfd25c
RGBrgb(223, 210, 92)
HSLhsl(54, 67%, 62%)
CMYKcmyk(0%, 6%, 59%, 13%)
LABlab(83.2 -9.9 58.7)
LCHlch(83.2 59.6 99.6)
OKLCHoklch(0.852 0.139 103.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.4%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow58.7%
Key (black)12.5%

Color previews

#dfd25c text on a black background

contrast 13.51:1

Card sample

#dfd25c text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd25c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd25c in the Color Lab