Skip to content

#d0eb02

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

RGB
208, 235, 2
HSL
67°, 98%, 47%
CMYK
12, 0, 99, 8
Luminance
0.7283

Every format

HEX#d0eb02
RGBrgb(208, 235, 2)
HSLhsl(67, 98%, 47%)
CMYKcmyk(12%, 0%, 99%, 8%)
LABlab(88.4 -31.4 86.3)
LCHlch(88.4 91.8 110.0)
OKLCHoklch(0.889 0.206 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0eb02 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#d0eb02 on black: 15.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green92.2%
Blue0.8%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow99.1%
Key (black)7.8%

Color previews

#d0eb02 text on a black background

contrast 15.57:1

Card sample

#d0eb02 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 235, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 235, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0eb02;
background: linear-gradient(135deg, #d0eb02, #35EB02);

Monochromatic scale

Palettes built from #d0eb02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0eb02 in the Color Lab