Skip to content

#d4ef1c

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

RGB
212, 239, 28
HSL
68°, 87%, 52%
CMYK
11, 0, 88, 6
Luminance
0.7581

Every format

HEX#d4ef1c
RGBrgb(212, 239, 28)
HSLhsl(68, 87%, 52%)
CMYKcmyk(11%, 0%, 88%, 6%)
LABlab(89.8 -31.3 84.7)
LCHlch(89.8 90.3 110.2)
OKLCHoklch(0.901 0.205 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4ef1c on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#d4ef1c on black: 16.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green93.7%
Blue11.0%

CMYK percentages

Cyan11.3%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#d4ef1c text on a black background

contrast 16.16:1

Card sample

#d4ef1c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 239, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 239, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4ef1c;
background: linear-gradient(135deg, #d4ef1c, #47EF1C);

Monochromatic scale

Palettes built from #d4ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ef1c in the Color Lab