Hex Color #FDD817 - Custom Color
Color Codes
HEX
#FDD817
RGB
rgb(253, 216, 23)
HSL
hsl(50, 98%, 54%)
CMYK
cmyk(0%, 15%, 91%, 1%)
HSV
hsv(50, 91%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.01:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #FDD817;
color: #FDD817;
border-color: #FDD817;
}
Tailwind CSS (with arbitrary values)
bg-[#FDD817]
text-[#FDD817]
border-[#FDD817]
// Example usage:
<div className="bg-[#FDD817]">