Skip to content

#d4eb45

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

RGB
212, 235, 69
HSL
68°, 81%, 60%
CMYK
10, 0, 71, 8
Luminance
0.7384

Every format

HEX#d4eb45
RGBrgb(212, 235, 69)
HSLhsl(68, 81%, 60%)
CMYKcmyk(10%, 0%, 71%, 8%)
LABlab(88.8 -28.0 73.4)
LCHlch(88.8 78.6 110.9)
OKLCHoklch(0.894 0.184 117.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4eb45 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#d4eb45 on black: 15.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green92.2%
Blue27.1%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow70.6%
Key (black)7.8%

Color previews

#d4eb45 text on a black background

contrast 15.77:1

Card sample

#d4eb45 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 235, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 235, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4eb45;
background: linear-gradient(135deg, #d4eb45, #65EB45);

Monochromatic scale

Palettes built from #d4eb45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4eb45 in the Color Lab