Skip to content

#d2d23f

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

RGB
210, 210, 63
HSL
60°, 62%, 54%
CMYK
0, 0, 70, 18
Luminance
0.6015

Every format

HEX#d2d23f
RGBrgb(210, 210, 63)
HSLhsl(60, 62%, 54%)
CMYKcmyk(0%, 0%, 70%, 18%)
LABlab(81.9 -17.1 68.7)
LCHlch(81.9 70.8 103.9)
OKLCHoklch(0.838 0.162 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d23f on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#d2d23f on black: 13.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green82.4%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow70.0%
Key (black)17.6%

Color previews

#d2d23f text on a black background

contrast 13.03:1

Card sample

#d2d23f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2d23f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2d23f in the Color Lab