Skip to content

#dfeb6e

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

RGB
223, 235, 110
HSL
66°, 76%, 68%
CMYK
5, 0, 53, 8
Luminance
0.7623

Every format

HEX#dfeb6e
RGBrgb(223, 235, 110)
HSLhsl(66, 76%, 68%)
CMYKcmyk(5%, 0%, 53%, 8%)
LABlab(90.0 -20.9 58.4)
LCHlch(90.0 62.0 109.7)
OKLCHoklch(0.906 0.149 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfeb6e on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#dfeb6e on black: 16.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green92.2%
Blue43.1%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow53.2%
Key (black)7.8%

Color previews

#dfeb6e text on a black background

contrast 16.25:1

Card sample

#dfeb6e text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfeb6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfeb6e in the Color Lab