Hex Color #FAF26C - Custom Color

Color Codes

HEX
#FAF26C
RGB
rgb(250, 242, 108)
HSL
hsl(57, 93%, 70%)
CMYK
cmyk(0%, 3%, 57%, 2%)
HSV
hsv(57, 57%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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