Skip to content

#ddf462

a light, electric yellow · cool · closest name: khaki

RGB
221, 244, 98
HSL
70°, 87%, 67%
CMYK
9, 0, 60, 4
Luminance
0.8096

Every format

HEX#ddf462
RGBrgb(221, 244, 98)
HSLhsl(70, 87%, 67%)
CMYKcmyk(9%, 0%, 60%, 4%)
LABlab(92.1 -26.9 65.9)
LCHlch(92.1 71.2 112.2)
OKLCHoklch(0.923 0.171 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf462 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ddf462 on black: 17.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green95.7%
Blue38.4%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow59.8%
Key (black)4.3%

Color previews

#ddf462 text on a black background

contrast 17.19:1

Card sample

#ddf462 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf462

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf462 in the Color Lab