Hex Color #DBB40F - Custom Color
Color Codes
HEX
#DBB40F
RGB
rgb(219, 180, 15)
HSL
hsl(49, 87%, 46%)
CMYK
cmyk(0%, 18%, 93%, 14%)
HSV
hsv(49, 93%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.55: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: #DBB40F;
color: #DBB40F;
border-color: #DBB40F;
}
Tailwind CSS (with arbitrary values)
bg-[#DBB40F]
text-[#DBB40F]
border-[#DBB40F]
// Example usage:
<div className="bg-[#DBB40F]">