#F8E95F
A light, vivid yellow closely aligning with Khaki.
About #F8E95F
The hex code #F8E95F represents a beautifully specific shade of yellow. Its closest recognized web color is Khaki. To achieve this exact tint on a monitor, you would use an RGB mix of 248, 233, and 95.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 6% Magenta, 62% Yellow, and 3% Black. This makes it a relatively light color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F8E95F
RGB248, 233, 95
HSL54.1°, 91.6%, 67.3%
CMYK0%, 6%, 62%, 3%
HSV54.1°, 61.7%, 97.3%
LAB91.3, -11.0, 66.9
XYZ69.9, 79.1, 22.4
Decimal16312671
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.25:1
Text on #FFFFFF
FAIL
16.81:1
Text on #000000
AAA
1.19:1
Text on #F8FAFC
FAIL
14.29:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8E95F;
}
.text-color {
color: #F8E95F;
}
.border-color {
border: 2px solid #F8E95F;
}