Skip to content

#dada0c

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

RGB
218, 218, 12
HSL
60°, 90%, 45%
CMYK
0, 0, 95, 15
Luminance
0.6507

Every format

HEX#dada0c
RGBrgb(218, 218, 12)
HSLhsl(60, 90%, 45%)
CMYKcmyk(0%, 0%, 95%, 15%)
LABlab(84.5 -19.0 82.9)
LCHlch(84.5 85.1 102.9)
OKLCHoklch(0.860 0.186 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green85.5%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow94.5%
Key (black)14.5%

Color previews

#dada0c text on a black background

contrast 14.01:1

Card sample

#dada0c text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dada0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dada0c in the Color Lab