Hex Color #FBF87D - Custom Color

Color Codes

HEX
#FBF87D
RGB
rgb(251, 248, 125)
HSL
hsl(59, 94%, 74%)
CMYK
cmyk(0%, 1%, 50%, 2%)
HSV
hsv(59, 50%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 18.82: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: #FBF87D;
color: #FBF87D;
border-color: #FBF87D;
}

Tailwind CSS (with arbitrary values)

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