Pyrite Color — #F8C642: Codes, Palettes & Contrast

Pyrite (#F8C642) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Pyrite is a named yellow color, ready to use anywhere you need it.

Pyrite#F8C642

Pyrite color codes

HEX#F8C642
RGBrgb(248, 198, 66)
HSLhsl(44, 93%, 62%)
OKLCHoklch(0.849 0.153 87.1)

Browse more yellow colors.

Readable text on Pyrite

Black text (#000000) has the higher contrast against this background: 13.15:1.

Text colorRatioNormal text AANormal text AAA
Black13.15:1PassPass
White1.6:1FailFail

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale