#7B872C Hex Code
Yellow Color Codes
#7B872C
Click to copy
Color Information
Name:Yellow
Luminance:0.217
Web Safe:No
Background Preview
Sample Text
#7B872C as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#7B872C
Hexadecimal color code
RGB
rgb(123, 135, 44)
Red, Green, Blue values (0-255)
HSL
hsl(68, 51%, 35%)
Hue, Saturation, Lightness
HSV
hsv(68, 67%, 53%)
Hue, Saturation, Value
CMYK
cmyk(9%, 0%, 67%, 47%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(53.73, -17.27, 45.56)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White Backgroundfail
Aa
Ratio: 3.93:150/100
Black BackgroundAA
Aa
Ratio: 5.34:175/100
Gray Backgroundfail
Aa
Ratio: 1.01:117/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