Skip to content

#dfeb5c

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

RGB
223, 235, 92
HSL
65°, 78%, 64%
CMYK
5, 0, 61, 8
Luminance
0.7588

Every format

HEX#dfeb5c
RGBrgb(223, 235, 92)
HSLhsl(65, 78%, 64%)
CMYKcmyk(5%, 0%, 61%, 8%)
LABlab(89.8 -22.2 66.0)
LCHlch(89.8 69.6 108.6)
OKLCHoklch(0.904 0.165 113.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfeb5c on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#dfeb5c on black: 16.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green92.2%
Blue36.1%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow60.9%
Key (black)7.8%

Color previews

#dfeb5c text on a black background

contrast 16.18:1

Card sample

#dfeb5c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfeb5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfeb5c in the Color Lab