Hex Color #FDB307 - Custom Color

Color Codes

HEX
#FDB307
RGB
rgb(253, 179, 7)
HSL
hsl(42, 98%, 51%)
CMYK
cmyk(0%, 29%, 97%, 1%)
HSV
hsv(42, 97%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.81:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 11.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: #FDB307;
color: #FDB307;
border-color: #FDB307;
}

Tailwind CSS (with arbitrary values)

bg-[#FDB307]
text-[#FDB307]
border-[#FDB307]
// Example usage:
<div className="bg-[#FDB307]">