#F0F01D
A medium, vivid yellow closely aligning with Yellow.
About #F0F01D
The precise color #F0F01D is an excellent choice for modern design projects. It is closely associated with the named CSS color Yellow. This translates to an RGB value of rgb(240, 240, 29).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 0% Magenta, 88% Yellow, and 6% Black. With a hue angle of 60.0 degrees, it sits comfortably in the yellow spectrum.
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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#F0F01D
RGB240, 240, 29
HSL60.0°, 87.6%, 52.7%
CMYK0%, 0%, 88%, 6%
HSV60.0°, 87.9%, 94.1%
LAB92.1, -20.3, 87.3
XYZ67.3, 80.9, 13.2
Decimal15790109
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.22:1
Text on #FFFFFF
FAIL
17.19:1
Text on #000000
AAA
1.17:1
Text on #F8FAFC
FAIL
14.61:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0F01D;
}
.text-color {
color: #F0F01D;
}
.border-color {
border: 2px solid #F0F01D;
}