Skip to content

#d2eb30

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

RGB
210, 235, 48
HSL
68°, 82%, 56%
CMYK
11, 0, 80, 8
Luminance
0.7333

Every format

HEX#d2eb30
RGBrgb(210, 235, 48)
HSLhsl(68, 82%, 56%)
CMYKcmyk(11%, 0%, 80%, 8%)
LABlab(88.6 -29.7 79.5)
LCHlch(88.6 84.9 110.5)
OKLCHoklch(0.892 0.195 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2eb30 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#d2eb30 on black: 15.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.2%
Blue18.8%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow79.6%
Key (black)7.8%

Color previews

#d2eb30 text on a black background

contrast 15.67:1

Card sample

#d2eb30 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 235, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 235, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2eb30;
background: linear-gradient(135deg, #d2eb30, #55EB30);

Monochromatic scale

Palettes built from #d2eb30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eb30 in the Color Lab