Hex Color #FAB530 - Custom Color
Color Codes
HEX
#FAB530
RGB
rgb(250, 181, 48)
HSL
hsl(40, 95%, 58%)
CMYK
cmyk(0%, 28%, 81%, 2%)
HSV
hsv(40, 81%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.79:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.72: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: #FAB530;
color: #FAB530;
border-color: #FAB530;
}
Tailwind CSS (with arbitrary values)
bg-[#FAB530]
text-[#FAB530]
border-[#FAB530]
// Example usage:
<div className="bg-[#FAB530]">