#FFFFA8

A very light, vivid yellow closely aligning with Khaki.

About #FFFFA8

When working with digital screens, the color #FFFFA8 is rendered by mixing light. It is closely associated with the named CSS color Khaki. This translates to an RGB value of rgb(255, 255, 168).

Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 0% Magenta, 34% Yellow, and 0% Black. The HSL representation is 60.0° hue, 100.0% saturation, and 82.9% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a very light color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#FFFFA8
RGB255, 255, 168
HSL60.0°, 100.0%, 82.9%
CMYK0%, 0%, 34%, 0%
HSV60.0°, 34.1%, 100.0%
LAB98.3, -12.6, 41.6
XYZ84.1, 95.6, 51.1
Decimal16777128

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.12:1
Text on #000000
AAA
1.00:1
Text on #F8FAFC
FAIL
17.11:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Khaki
#F0E68C