Hex Color #F6F742 - Custom Color

Color Codes

HEX
#F6F742
RGB
rgb(246, 247, 66)
HSL
hsl(60, 92%, 61%)
CMYK
cmyk(0%, 0%, 73%, 3%)
HSV
hsv(60, 73%, 97%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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