#F7F7A6 color

#F7F7A6 is rgb(247, 247, 166) in RGB and hsl(60, 84%, 81%) in HSL. The closest CSS named color is khaki (#f0e68c, ΔE 4.6). Use black text on it (contrast 18.81:1).

#F7F7A6yellow
HEX#F7F7A6
RGBrgb(247, 247, 166)
RGB percentrgb(96.9%, 96.9%, 65.1%)
HSLhsl(60, 84%, 81%)
HSV / HSBhsv(60, 33%, 97%)
CMYKcmyk(0%, 0%, 33%, 3%)
CIELAB (D65)lab(95.6 -11.9 39)

Edit in the color converter → · Check contrast → · Shades →

About #F7F7A6

#F7F7A6 is a pale, vivid yellow with a hue angle of 60°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 247 (97%) and blue the weakest at 166 (65%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#F7F7A6
RGBrgb(247, 247, 166)
RGB percentrgb(96.9%, 96.9%, 65.1%)
HSLhsl(60, 84%, 81%)
HSV / HSBhsv(60, 33%, 97%)
CMYKcmyk(0%, 0%, 33%, 3%)
CIELAB (D65)lab(95.6 -11.9 39)
Decimal16250790
Binary11110111 11110111 10100110

HEX F7 F7 A6 → 247, 247, 166 (each pair is a base-16 number: F×16 + 7 = 247)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #F7F7A6

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #F7F7A6RatioAA normalAA largeAAA normalAAA large
White text1.12:1FailFailFailFail
Black text18.81:1PassPassPassPass
White text on #F7F7A6
Black text on #F7F7A6
#F7F7A6 text on white
#F7F7A6 text on black

Relative luminance is 0.8905 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#fff1a0

Deuteranopia
#fff4a9

Tritanopia
#ffede2

Achromatopsia
#f2f2f2

People with red–green color blindness see this color almost unchanged (ΔE 3.1 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
khaki#f0e68c4.6
palegoldenrod#eee8aa4.6
lemonchiffon#fffacd7.6
lightgoldenrodyellow#fafad28.7

CSS

.element {
  color: #f7f7a6;
  background-color: rgb(247, 247, 166);
  border: 1px solid hsl(60, 84%, 81%);
  box-shadow: 0 2px 8px rgb(247 247 166 / 50%);
}
:root { --brand: #f7f7a6; }

Frequently asked questions

What color is #F7F7A6?
A pale vivid yellow in the yellow family. Closest CSS name: khaki.
What is #F7F7A6 in RGB?
rgb(247, 247, 166): red 247, green 247, blue 166.
What is the complementary color of #F7F7A6?
#A6A6F7, found by rotating the hue 180°.