Hex Color #D5A23E - Custom Color
Color Codes
HEX
#D5A23E
RGB
rgb(213, 162, 62)
HSL
hsl(40, 64%, 54%)
CMYK
cmyk(0%, 24%, 71%, 16%)
HSV
hsv(40, 71%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.07: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: #D5A23E;
color: #D5A23E;
border-color: #D5A23E;
}
Tailwind CSS (with arbitrary values)
bg-[#D5A23E]
text-[#D5A23E]
border-[#D5A23E]
// Example usage:
<div className="bg-[#D5A23E]">