Skip to content

#d0be21

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

RGB
208, 190, 33
HSL
54°, 73%, 47%
CMYK
0, 9, 84, 18
Luminance
0.5035

Every format

HEX#d0be21
RGBrgb(208, 190, 33)
HSLhsl(54, 73%, 47%)
CMYKcmyk(0%, 9%, 84%, 18%)
LABlab(76.3 -8.9 72.6)
LCHlch(76.3 73.2 97.0)
OKLCHoklch(0.792 0.159 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0be21 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#d0be21 on black: 11.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green74.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow84.1%
Key (black)18.4%

Color previews

#d0be21 text on a black background

contrast 11.07:1

Card sample

#d0be21 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0be21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0be21 in the Color Lab