Margarine Color — #F2D930: Codes, Palettes & Contrast

Margarine (#F2D930) 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.

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

Margarine#F2D930

Margarine color codes

HEX#F2D930
RGBrgb(242, 217, 48)
HSLhsl(52, 88%, 57%)
OKLCHoklch(0.880 0.172 100.2)

Browse more yellow colors.

Readable text on Margarine

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

Text colorRatioNormal text AANormal text AAA
Black14.74:1PassPass
White1.42: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