#DEF22C Hex Code
Yellow Color Codes
#DEF22C
Click to copy
Color Information
Name:Yellow
Luminance:0.792
Web Safe:No
Background Preview
Sample Text
#DEF22C as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#DEF22C
Hexadecimal color code
RGB
rgb(222, 242, 44)
Red, Green, Blue values (0-255)
HSL
hsl(66, 88%, 56%)
Hue, Saturation, Lightness
HSV
hsv(66, 82%, 95%)
Hue, Saturation, Value
CMYK
cmyk(8%, 0%, 82%, 5%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(91.33, -28.24, 83.19)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White Backgroundfail
Aa
Ratio: 1.25:121/100
Black BackgroundAAA
Aa
Ratio: 16.84:1100/100
Gray Backgroundfail
Aa
Ratio: 3.17: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