Skip to content

#d7ef1c

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

RGB
215, 239, 28
HSL
67°, 87%, 52%
CMYK
10, 0, 88, 6
Luminance
0.7626

Every format

HEX#d7ef1c
RGBrgb(215, 239, 28)
HSLhsl(67, 87%, 52%)
CMYKcmyk(10%, 0%, 88%, 6%)
LABlab(90.0 -30.1 85.0)
LCHlch(90.0 90.2 109.5)
OKLCHoklch(0.903 0.204 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7ef1c on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#d7ef1c on black: 16.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green93.7%
Blue11.0%

CMYK percentages

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

Color previews

#d7ef1c text on a black background

contrast 16.25:1

Card sample

#d7ef1c text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7ef1c in the Color Lab