Skip to content

#dac044

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

RGB
218, 192, 68
HSL
50°, 67%, 56%
CMYK
0, 12, 69, 15
Luminance
0.5302

Every format

HEX#dac044
RGBrgb(218, 192, 68)
HSLhsl(50, 67%, 56%)
CMYKcmyk(0%, 12%, 69%, 15%)
LABlab(77.9 -4.3 63.1)
LCHlch(77.9 63.2 93.9)
OKLCHoklch(0.808 0.142 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac044 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dac044 on black: 11.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green75.3%
Blue26.7%

CMYK percentages

Cyan0.0%
Magenta11.9%
Yellow68.8%
Key (black)14.5%

Color previews

#dac044 text on a black background

contrast 11.60:1

Card sample

#dac044 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac044

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac044 in the Color Lab