Skip to content

#dfd270

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

RGB
223, 210, 112
HSL
53°, 63%, 66%
CMYK
0, 6, 50, 13
Luminance
0.6295

Every format

HEX#dfd270
RGBrgb(223, 210, 112)
HSLhsl(53, 63%, 66%)
CMYKcmyk(0%, 6%, 50%, 13%)
LABlab(83.4 -8.3 49.8)
LCHlch(83.4 50.5 99.5)
OKLCHoklch(0.854 0.121 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.4%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow49.8%
Key (black)12.5%

Color previews

#dfd270 text on a black background

contrast 13.59:1

Card sample

#dfd270 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd270

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd270 in the Color Lab