Hex Color #A4AF12 - Custom Color

Color Codes

HEX
#A4AF12
RGB
rgb(164, 175, 18)
HSL
hsl(64, 81%, 38%)
CMYK
cmyk(6%, 0%, 90%, 31%)
HSV
hsv(64, 90%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.41:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 8.72:1
Pass - WCAG AA (Normal Text)
Pass - 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: #A4AF12;
color: #A4AF12;
border-color: #A4AF12;
}

Tailwind CSS (with arbitrary values)

bg-[#A4AF12]
text-[#A4AF12]
border-[#A4AF12]
// Example usage:
<div className="bg-[#A4AF12]">