#F2F28D Hex Code
Yellow Color Codes
#F2F28D
Click to copy
Color Information
Name:Yellow
Luminance:0.843
Web Safe:No
Background Preview
Sample Text
#F2F28D as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#F2F28D
Hexadecimal color code
RGB
rgb(242, 242, 141)
Red, Green, Blue values (0-255)
HSL
hsl(60, 80%, 75%)
Hue, Saturation, Lightness
HSV
hsv(60, 42%, 95%)
Hue, Saturation, Value
CMYK
cmyk(0%, 0%, 42%, 5%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(93.58, -14.07, 48.6)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White Backgroundfail
Aa
Ratio: 1.18:120/100
Black BackgroundAAA
Aa
Ratio: 17.86:1100/100
Gray Backgroundfail
Aa
Ratio: 3.36:150/100
WCAG Guidelines
AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies