Hex Color #FAB715 - Custom Color
Color Codes
HEX
#FAB715
RGB
rgb(250, 183, 21)
HSL
hsl(42, 96%, 53%)
CMYK
cmyk(0%, 27%, 92%, 2%)
HSV
hsv(42, 92%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.77:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.85: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: #FAB715;
color: #FAB715;
border-color: #FAB715;
}
Tailwind CSS (with arbitrary values)
bg-[#FAB715]
text-[#FAB715]
border-[#FAB715]
// Example usage:
<div className="bg-[#FAB715]">