Hex Color #D98F05 - Custom Color
Color Codes
HEX
#D98F05
RGB
rgb(217, 143, 5)
HSL
hsl(39, 95%, 44%)
CMYK
cmyk(0%, 34%, 98%, 15%)
HSV
hsv(39, 98%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.88: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: #D98F05;
color: #D98F05;
border-color: #D98F05;
}
Tailwind CSS (with arbitrary values)
bg-[#D98F05]
text-[#D98F05]
border-[#D98F05]
// Example usage:
<div className="bg-[#D98F05]">