Hex Color #D1AC03 - Custom Color

Color Codes

HEX
#D1AC03
RGB
rgb(209, 172, 3)
HSL
hsl(49, 97%, 42%)
CMYK
cmyk(0%, 18%, 99%, 18%)
HSV
hsv(49, 99%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 9.61:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #D1AC03;
color: #D1AC03;
border-color: #D1AC03;
}

Tailwind CSS (with arbitrary values)

bg-[#D1AC03]
text-[#D1AC03]
border-[#D1AC03]
// Example usage:
<div className="bg-[#D1AC03]">