Hex Color #F6DF5C - Custom Color
Color Codes
HEX
#F6DF5C
RGB
rgb(246, 223, 92)
HSL
hsl(51, 90%, 66%)
CMYK
cmyk(0%, 9%, 63%, 4%)
HSV
hsv(51, 63%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.63: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: #F6DF5C;
color: #F6DF5C;
border-color: #F6DF5C;
}
Tailwind CSS (with arbitrary values)
bg-[#F6DF5C]
text-[#F6DF5C]
border-[#F6DF5C]
// Example usage:
<div className="bg-[#F6DF5C]">