#FFFFAF

A very light, vivid yellow closely aligning with Khaki.

About #FFFFAF

The hex code #FFFFAF represents a beautifully specific shade of yellow. Designers often compare it to the standard color Khaki. To achieve this exact tint on a monitor, you would use an RGB mix of 255, 255, and 175.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 0% Magenta, 31% Yellow, and 0% 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#FFFFAF
RGB255, 255, 175
HSL60.0°, 100.0%, 84.3%
CMYK0%, 0%, 31%, 0%
HSV60.0°, 31.4%, 100.0%
LAB98.4, -11.8, 38.3
XYZ84.7, 95.9, 54.6
Decimal16777135

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.04:1
Text on #FFFFFF
FAIL
20.18:1
Text on #000000
AAA
1.01:1
Text on #F8FAFC
FAIL
17.15:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #FFFFAF; }
.text-color { color: #FFFFAF; }
.border-color { border: 2px solid #FFFFAF; }

Similar Colors

Khaki
#F0E68C