Skip to content

#dada2b

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

RGB
218, 218, 43
HSL
60°, 70%, 51%
CMYK
0, 0, 80, 15
Luminance
0.6522

Every format

HEX#dada2b
RGBrgb(218, 218, 43)
HSLhsl(60, 70%, 51%)
CMYKcmyk(0%, 0%, 80%, 15%)
LABlab(84.6 -18.4 77.5)
LCHlch(84.6 79.7 103.4)
OKLCHoklch(0.861 0.178 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green85.5%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow80.3%
Key (black)14.5%

Color previews

#dada2b text on a black background

contrast 14.04:1

Card sample

#dada2b text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dada2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dada2b in the Color Lab