Skip to content

#d2f033

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

RGB
210, 240, 51
HSL
70°, 86%, 57%
CMYK
13, 0, 79, 6
Luminance
0.7626

Every format

HEX#d2f033
RGBrgb(210, 240, 51)
HSLhsl(70, 86%, 57%)
CMYKcmyk(13%, 0%, 79%, 6%)
LABlab(90.0 -31.9 79.9)
LCHlch(90.0 86.1 111.7)
OKLCHoklch(0.903 0.199 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f033 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#d2f033 on black: 16.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.1%
Blue20.0%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow78.8%
Key (black)5.9%

Color previews

#d2f033 text on a black background

contrast 16.25:1

Card sample

#d2f033 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 240, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 240, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f033;
background: linear-gradient(135deg, #d2f033, #54F033);

Monochromatic scale

Palettes built from #d2f033

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f033 in the Color Lab