#F0E216
A medium, vivid yellow closely aligning with Gold.
About #F0E216
When working with digital screens, the color #F0E216 is rendered by mixing light. It is closely associated with the named CSS color Gold. This translates to an RGB value of rgb(240, 226, 22).
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 6% M, 91% Y, and 6% K. The HSL representation is 56.1° hue, 87.9% saturation, and 51.4% lightness.
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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#F0E216
RGB240, 226, 22
HSL56.1°, 87.9%, 51.4%
CMYK0%, 6%, 91%, 6%
HSV56.1°, 90.8%, 94.1%
LAB88.4, -13.6, 85.5
XYZ63.3, 73.0, 11.5
Decimal15786518
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.35:1
Text on #FFFFFF
FAIL
15.60:1
Text on #000000
AAA
1.29:1
Text on #F8FAFC
FAIL
13.26:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E216;
}
.text-color {
color: #F0E216;
}
.border-color {
border: 2px solid #F0E216;
}