Skip to content

#dbf308

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

RGB
219, 243, 8
HSL
66°, 94%, 49%
CMYK
10, 0, 97, 5
Luminance
0.7918

Every format

HEX#dbf308
RGBrgb(219, 243, 8)
HSLhsl(66, 94%, 49%)
CMYKcmyk(10%, 0%, 97%, 5%)
LABlab(91.3 -30.6 88.4)
LCHlch(91.3 93.5 109.1)
OKLCHoklch(0.915 0.210 116.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green95.3%
Blue3.1%

CMYK percentages

Cyan9.9%
Magenta0.0%
Yellow96.7%
Key (black)4.7%

Color previews

#dbf308 text on a black background

contrast 16.84:1

Card sample

#dbf308 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbf308

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbf308 in the Color Lab