#AFAF12 Hex Code
Yellow Color Codes
#AFAF12
Click to copy
Color Information
Name:Yellow
Luminance:0.398
Web Safe:No
Background Preview
Sample Text
#AFAF12 as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#AFAF12
Hexadecimal color code
RGB
rgb(175, 175, 18)
Red, Green, Blue values (0-255)
HSL
hsl(60, 81%, 38%)
Hue, Saturation, Lightness
HSV
hsv(60, 90%, 69%)
Hue, Saturation, Value
CMYK
cmyk(0%, 0%, 90%, 31%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(69.34, -16, 68.92)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White Backgroundfail
Aa
Ratio: 2.34:139/100
Black BackgroundAAA
Aa
Ratio: 8.96:1100/100
Gray Backgroundfail
Aa
Ratio: 1.69:128/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