Skip to content

#ddf200

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

RGB
221, 242, 0
HSL
65°, 100%, 48%
CMYK
9, 0, 100, 5
Luminance
0.7888

Every format

HEX#ddf200
RGBrgb(221, 242, 0)
HSLhsl(65, 100%, 48%)
CMYKcmyk(9%, 0%, 100%, 5%)
LABlab(91.2 -29.3 89.0)
LCHlch(91.2 93.7 108.3)
OKLCHoklch(0.914 0.209 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf200 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ddf200 on black: 16.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.9%
Blue0.0%

CMYK percentages

Cyan8.7%
Magenta0.0%
Yellow100.0%
Key (black)5.1%

Color previews

#ddf200 text on a black background

contrast 16.78:1

Card sample

#ddf200 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 242, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 242, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf200;
background: linear-gradient(135deg, #ddf200, #3CF200);

Monochromatic scale

Palettes built from #ddf200

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf200 in the Color Lab