Hex Color #FBD31B - Custom Color

Color Codes

HEX
#FBD31B
RGB
rgb(251, 211, 27)
HSL
hsl(49, 97%, 55%)
CMYK
cmyk(0%, 16%, 89%, 2%)
HSV
hsv(49, 89%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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