AfoliOpen Afoli →

Squash color #F2AB15

Squash is a color name from the xkcd color survey for the hex code #F2AB15 — RGB 242, 171, 21, HSL 41°, 89%, 52%.

Open in Afoli Colour tools →

#F2AB15Squash

Color codes

HEX
#F2AB15
RGB
rgb(242, 171, 21)
HSL
hsl(41, 89%, 52%)
CMYK
0%, 29%, 91%, 5%
OKLCH
oklch(78.9% 0.161 77.9)

Tints and shades

#FFF3E1#FFD28B#F8B022#D99800#B98100#9A6A00#7B5500#5F4000#432C00#2A1A00#130900

Color harmonies

Complementary
#F2AB15#8EBCFF
Analogous
#FF9E6B#F2AB15#C5C126
Triadic
#F2AB15#00D4D9#E597FD
Split complementary
#F2AB15#3CCBFF#B6AEFF
Tetradic
#F2AB15#00DAA6#8EBCFF#FF90CB

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Squash text on white1.98 : 138Fails for text
Squash text on black10.61 : 1-64AAA — any text
White text on Squash1.98 : 1-42Fails for text
Black text on Squash10.61 : 166AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Squash?

Squash has the hex code #F2AB15, which is RGB 242, 171, 21 and HSL 41°, 89%, 52%.

Which text color reads best on Squash?

Black text: contrast 10.61 : 1 (white text: 1.98 : 1).

Which colors go well with Squash?

Its complementary color is #8EBCFF; analogous colors are #FF9E6B and #C5C126; a triadic set adds #00D4D9 and #E597FD.

Similar colors

Sources and licences

Updated November 21, 2026