#F0F00F
A medium, vivid yellow closely aligning with Yellow.
About #F0F00F
The hex code #F0F00F 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 240 red, 240 green, and 15 blue.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 0% Magenta, 94% Yellow, and 6% Black. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a medium color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F0F00F
RGB240, 240, 15
HSL60.0°, 88.2%, 50.0%
CMYK0%, 0%, 94%, 6%
HSV60.0°, 93.8%, 94.1%
LAB92.1, -20.5, 89.1
XYZ67.2, 80.9, 12.5
Decimal15790095
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.22:1
Text on #FFFFFF
FAIL
17.18:1
Text on #000000
AAA
1.17:1
Text on #F8FAFC
FAIL
14.60:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0F00F;
}
.text-color {
color: #F0F00F;
}
.border-color {
border: 2px solid #F0F00F;
}