Skip to content

#d3f40c

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

RGB
211, 244, 12
HSL
69°, 91%, 50%
CMYK
14, 0, 95, 4
Luminance
0.7858

Every format

HEX#d3f40c
RGBrgb(211, 244, 12)
HSLhsl(69, 91%, 50%)
CMYKcmyk(14%, 0%, 95%, 4%)
LABlab(91.0 -34.2 87.6)
LCHlch(91.0 94.1 111.3)
OKLCHoklch(0.911 0.213 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3f40c on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#d3f40c on black: 16.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green95.7%
Blue4.7%

CMYK percentages

Cyan13.5%
Magenta0.0%
Yellow95.1%
Key (black)4.3%

Color previews

#d3f40c text on a black background

contrast 16.72:1

Card sample

#d3f40c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3f40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3f40c in the Color Lab