Skip to content

#dadb2f

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

RGB
218, 219, 47
HSL
60°, 71%, 52%
CMYK
1, 0, 79, 14
Luminance
0.6577

Every format

HEX#dadb2f
RGBrgb(218, 219, 47)
HSLhsl(60, 71%, 52%)
CMYKcmyk(1%, 0%, 79%, 14%)
LABlab(84.9 -18.8 76.7)
LCHlch(84.9 79.0 103.8)
OKLCHoklch(0.863 0.177 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dadb2f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dadb2f on black: 14.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green85.9%
Blue18.4%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#dadb2f text on a black background

contrast 14.15:1

Card sample

#dadb2f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dadb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dadb2f in the Color Lab