Skip to content

#d0f821

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

RGB
208, 248, 33
HSL
71°, 94%, 55%
CMYK
16, 0, 87, 3
Luminance
0.8065

Every format

HEX#d0f821
RGBrgb(208, 248, 33)
HSLhsl(71, 94%, 55%)
CMYKcmyk(16%, 0%, 87%, 3%)
LABlab(92.0 -36.9 85.6)
LCHlch(92.0 93.2 113.3)
OKLCHoklch(0.918 0.214 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0f821 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#d0f821 on black: 17.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green97.3%
Blue12.9%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow86.7%
Key (black)2.7%

Color previews

#d0f821 text on a black background

contrast 17.13:1

Card sample

#d0f821 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 248, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 248, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0f821;
background: linear-gradient(135deg, #d0f821, #41F821);

Monochromatic scale

Palettes built from #d0f821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0f821 in the Color Lab