Skip to content

#dada2c

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

RGB
218, 218, 44
HSL
60°, 70%, 51%
CMYK
0, 0, 80, 15
Luminance
0.6523

Every format

HEX#dada2c
RGBrgb(218, 218, 44)
HSLhsl(60, 70%, 51%)
CMYKcmyk(0%, 0%, 80%, 15%)
LABlab(84.6 -18.4 77.3)
LCHlch(84.6 79.4 103.4)
OKLCHoklch(0.861 0.177 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green85.5%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow79.8%
Key (black)14.5%

Color previews

#dada2c text on a black background

contrast 14.05:1

Card sample

#dada2c text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dada2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dada2c in the Color Lab