Hex Color #D3AE03 - Custom Color
Color Codes
HEX
#D3AE03
RGB
rgb(211, 174, 3)
HSL
hsl(49, 97%, 42%)
CMYK
cmyk(0%, 18%, 99%, 17%)
HSV
hsv(49, 99%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.14:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.83: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: #D3AE03;
color: #D3AE03;
border-color: #D3AE03;
}
Tailwind CSS (with arbitrary values)
bg-[#D3AE03]
text-[#D3AE03]
border-[#D3AE03]
// Example usage:
<div className="bg-[#D3AE03]">