Hex Color #A6AC0C - Custom Color

Color Codes

HEX
#A6AC0C
RGB
rgb(166, 172, 12)
HSL
hsl(62, 87%, 36%)
CMYK
cmyk(3%, 0%, 93%, 33%)
HSV
hsv(62, 93%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 8.53: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: #A6AC0C;
color: #A6AC0C;
border-color: #A6AC0C;
}

Tailwind CSS (with arbitrary values)

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