Hex Color #A7D313 - Custom Color

Color Codes

HEX
#A7D313
RGB
rgb(167, 211, 19)
HSL
hsl(74, 83%, 45%)
CMYK
cmyk(21%, 0%, 91%, 17%)
HSV
hsv(74, 91%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 11.97:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #A7D313;
color: #A7D313;
border-color: #A7D313;
}

Tailwind CSS (with arbitrary values)

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