Hex Color #FCDF16 - Custom Color

Color Codes

HEX
#FCDF16
RGB
rgb(252, 223, 22)
HSL
hsl(52, 97%, 54%)
CMYK
cmyk(0%, 12%, 91%, 1%)
HSV
hsv(52, 91%, 99%)
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.71: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: #FCDF16;
color: #FCDF16;
border-color: #FCDF16;
}

Tailwind CSS (with arbitrary values)

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