Hex Color #D6C72E - Custom Color
Color Codes
HEX
#D6C72E
RGB
rgb(214, 199, 46)
HSL
hsl(55, 67%, 51%)
CMYK
cmyk(0%, 7%, 79%, 16%)
HSV
hsv(55, 79%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.74:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.07: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: #D6C72E;
color: #D6C72E;
border-color: #D6C72E;
}
Tailwind CSS (with arbitrary values)
bg-[#D6C72E]
text-[#D6C72E]
border-[#D6C72E]
// Example usage:
<div className="bg-[#D6C72E]">