Skip to content

#dfd258

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

RGB
223, 210, 88
HSL
54°, 68%, 61%
CMYK
0, 6, 61, 13
Luminance
0.6249

Every format

HEX#dfd258
RGBrgb(223, 210, 88)
HSLhsl(54, 68%, 61%)
CMYKcmyk(0%, 6%, 61%, 13%)
LABlab(83.2 -10.2 60.5)
LCHlch(83.2 61.3 99.6)
OKLCHoklch(0.851 0.142 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd258 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#dfd258 on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.4%
Blue34.5%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow60.5%
Key (black)12.5%

Color previews

#dfd258 text on a black background

contrast 13.50:1

Card sample

#dfd258 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd258

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd258 in the Color Lab