Hex Color #A18D27 - Custom Color
Color Codes
HEX
#A18D27
RGB
rgb(161, 141, 39)
HSL
hsl(50, 61%, 39%)
CMYK
cmyk(0%, 12%, 76%, 37%)
HSV
hsv(50, 76%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.35:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #A18D27;
color: #A18D27;
border-color: #A18D27;
}
Tailwind CSS (with arbitrary values)
bg-[#A18D27]
text-[#A18D27]
border-[#A18D27]
// Example usage:
<div className="bg-[#A18D27]">