Skip to content

#dabe21

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

RGB
218, 190, 33
HSL
51°, 74%, 49%
CMYK
0, 13, 85, 15
Luminance
0.5184

Every format

HEX#dabe21
RGBrgb(218, 190, 33)
HSLhsl(51, 74%, 49%)
CMYKcmyk(0%, 13%, 85%, 15%)
LABlab(77.2 -4.6 73.8)
LCHlch(77.2 73.9 93.6)
OKLCHoklch(0.802 0.159 97.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dabe21 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#dabe21 on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green74.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta12.8%
Yellow84.9%
Key (black)14.5%

Color previews

#dabe21 text on a black background

contrast 11.37:1

Card sample

#dabe21 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dabe21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dabe21 in the Color Lab