#F8E97C
A light, vivid yellow closely aligning with Khaki.
About #F8E97C
At its core, #F8E97C is a light and vivid hue. 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 124.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 6% magenta, 50% yellow, and 3% black. This makes it a relatively light color when applied to physical surfaces.
From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F8E97C
RGB248, 233, 124
HSL52.7°, 89.9%, 72.9%
CMYK0%, 6%, 50%, 3%
HSV52.7°, 50.0%, 97.3%
LAB91.5, -8.8, 54.3
XYZ71.5, 79.7, 30.7
Decimal16312700
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.24:1
Text on #FFFFFF
FAIL
16.94:1
Text on #000000
AAA
1.18:1
Text on #F8FAFC
FAIL
14.40:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8E97C;
}
.text-color {
color: #F8E97C;
}
.border-color {
border: 2px solid #F8E97C;
}