Skip to content

#d0fc4f

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

RGB
208, 252, 79
HSL
75°, 97%, 65%
CMYK
18, 0, 69, 1
Luminance
0.8360

Every format

HEX#d0fc4f
RGBrgb(208, 252, 79)
HSLhsl(75, 97%, 65%)
CMYKcmyk(18%, 0%, 69%, 1%)
LABlab(93.3 -36.8 74.2)
LCHlch(93.3 82.9 116.4)
OKLCHoklch(0.929 0.198 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0fc4f on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#d0fc4f on black: 17.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green98.8%
Blue31.0%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow68.7%
Key (black)1.2%

Color previews

#d0fc4f text on a black background

contrast 17.72:1

Card sample

#d0fc4f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 252, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 252, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0fc4f;
background: linear-gradient(135deg, #d0fc4f, #5DFC4F);

Monochromatic scale

Palettes built from #d0fc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0fc4f in the Color Lab