Recognised as Colour
#F8E798
- #F8E798
- Yellow
- Light
- Nearest: Khaki
#F8E798 is a yellow with RGB values 248, 231, 152 and HSL 49°, 87%, 78%. It is a light colour, so black text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Khaki.
Colour values
#F8E798#F8E798
HEX#F8E798
RGBrgb(248, 231, 152)
RGB (0–1)0.9725, 0.9059, 0.5961
RGB percentages97.3%, 90.6%, 59.6%
HSLhsl(49.4, 87.3%, 78.4%)
HSV / HSBhsv(49.4, 38.7%, 97.3%)
CMYK0%, 6.9%, 38.7%, 2.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,312,216
CSS custom property--colour: #F8E798;
Brightness & contrast
Relative luminance0.79375WCAG 2.x, 0 is black and 1 is white
Perceived brightness228.8 of 255ITU-R BT.601 weighting
Light or darkLight
Best text colour on this backgroundBlackcontrast 16.88:1
Contrast with white1.24:1WCAG normal text: Fail
Contrast with black16.88:1WCAG normal text: AAA
Greyscale equivalent#E5E5E5
Inverted#071867
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text1.24:1WCAG large text: Fail
Contrast with black, large text16.88:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#98A9F8
Analogous#F8B798, #D9F898
Triadic#98F8E7, #E798F8
Split complementary#98D9F8, #B798F8
Tetradic#98F8B7, #98A9F8, #F898D9
Tints, shades & saturation
Channel breakdown
R248
G231
B152
Red248 (97.3%)
Green231 (90.6%)
Blue152 (59.6%)
Hue49.38°
Saturation (HSL)87.27%
Lightness78.43%
Dominant channelRed
Hex per channelR F8 · G E7 · B 98
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page