#F8F02C
A medium, vivid yellow closely aligning with Yellow.
About #F8F02C
The hex code #F8F02C represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Yellow. In the RGB color space, it consists of 248 red, 240 green, and 44 blue.
If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 3% magenta, 82% yellow, and 3% black. The HSL representation is 57.6° hue, 93.6% saturation, and 57.3% lightness.
When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#F8F02C
RGB248, 240, 44
HSL57.6°, 93.6%, 57.3%
CMYK0%, 3%, 82%, 3%
HSV57.6°, 82.3%, 97.3%
LAB92.8, -16.6, 85.2
XYZ70.3, 82.5, 14.6
Decimal16314412
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.20:1
Text on #FFFFFF
FAIL
17.49:1
Text on #000000
AAA
1.15:1
Text on #F8FAFC
FAIL
14.87:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8F02C;
}
.text-color {
color: #F8F02C;
}
.border-color {
border: 2px solid #F8F02C;
}