Skip to content

#dada28

a balanced, vivid yellow · cool · closest name: gold

RGB
218, 218, 40
HSL
60°, 71%, 51%
CMYK
0, 0, 82, 15
Luminance
0.6520

Every format

HEX#dada28
RGBrgb(218, 218, 40)
HSLhsl(60, 71%, 51%)
CMYKcmyk(0%, 0%, 82%, 15%)
LABlab(84.6 -18.5 78.3)
LCHlch(84.6 80.4 103.3)
OKLCHoklch(0.861 0.179 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dada28 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dada28 on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green85.5%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow81.7%
Key (black)14.5%

Color previews

#dada28 text on a black background

contrast 14.04:1

Card sample

#dada28 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 218, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 218, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dada28;
background: linear-gradient(135deg, #dada28, #63DA28);

Monochromatic scale

Palettes built from #dada28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dada28 in the Color Lab