#FFF842
A light, vivid yellow closely aligning with Yellow.
About #FFF842
At its core, #FFF842 is a light and vivid hue. Designers often compare it to the standard color Yellow. To achieve this exact tint on a monitor, you would use an RGB mix of 255, 248, and 66.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 3% magenta inks. With a hue angle of 57.8 degrees, it sits comfortably in the yellow spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#FFF842
RGB255, 248, 66
HSL57.8°, 100.0%, 62.9%
CMYK0%, 3%, 74%, 0%
HSV57.8°, 74.1%, 100.0%
LAB95.5, -16.9, 81.9
XYZ75.8, 88.8, 18.3
Decimal16775234
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.12:1
Text on #FFFFFF
FAIL
18.76:1
Text on #000000
AAA
1.07:1
Text on #F8FAFC
FAIL
15.95:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #FFF842;
}
.text-color {
color: #FFF842;
}
.border-color {
border: 2px solid #FFF842;
}