Skip to content

#d3d35f

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

RGB
211, 211, 95
HSL
60°, 57%, 60%
CMYK
0, 0, 55, 17
Luminance
0.6126

Every format

HEX#d3d35f
RGBrgb(211, 211, 95)
HSLhsl(60, 57%, 60%)
CMYKcmyk(0%, 0%, 55%, 17%)
LABlab(82.5 -15.1 56.4)
LCHlch(82.5 58.4 105.0)
OKLCHoklch(0.844 0.139 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3d35f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#d3d35f on black: 13.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green82.7%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow55.0%
Key (black)17.3%

Color previews

#d3d35f text on a black background

contrast 13.25:1

Card sample

#d3d35f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 211, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 211, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3d35f;
background: linear-gradient(135deg, #d3d35f, #86D35F);

Monochromatic scale

Palettes built from #d3d35f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3d35f in the Color Lab