#hexpedia

Closest to Yellow

#FFFF40

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEXFFFF40
HEX with ##FFFF40
RGBrgb(255, 255, 64)
RGBArgba(255, 255, 64, 1)
HSLhsl(60 100% 62.55%)
HSLAhsla(60, 100%, 62.55%, 1)
HSVhsv(60, 74.9%, 100%)
CMYKcmyk(0%, 0%, 74.9%, 0%)
OKLCHoklch(96.97% 0.1949 109.54)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

1.07:1

Decorative only

Black text

19.63:1

AAA normal

Reference notes

Yellow is the nearest readable name for #FFFF40, a saturated yellow with bright value. Its RGB value is 255, 255, 64, while the HSL reading places it around 60 degrees of hue, 100% saturation, and 63% lightness. Its warm temperature makes it easier to place in a palette: warm colors tend to move forward, cool colors tend to recede, and neutral colors depend more heavily on surrounding contrast. For interface work, start with the accessibility table before assigning this color to text, icons, or interactive states; perceived brightness can differ from the raw hex value. Pairing suggestions on this page are generated from hue relationships, so they work as starting points rather than fixed brand or accessibility recommendations. For palette building, start with one strong relationship from the pairing section, then adjust lightness until the hierarchy remains readable at small sizes. It works best in badges, highlights, product accents, and moments where quick recognition matters. For stronger contrast, compare it with black and white text and then choose pairings from complementary or split-complementary suggestions.