Hex Color #D5A946 - Custom Color

Color Codes

HEX
#D5A946
RGB
rgb(213, 169, 70)
HSL
hsl(42, 63%, 55%)
CMYK
cmyk(0%, 21%, 67%, 16%)
HSV
hsv(42, 67%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.59: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: #D5A946;
color: #D5A946;
border-color: #D5A946;
}

Tailwind CSS (with arbitrary values)

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