Hex Color #DECD0E - Custom Color
Color Codes
HEX
#DECD0E
RGB
rgb(222, 205, 14)
HSL
hsl(55, 88%, 46%)
CMYK
cmyk(0%, 8%, 94%, 13%)
HSV
hsv(55, 94%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.84: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: #DECD0E;
color: #DECD0E;
border-color: #DECD0E;
}
Tailwind CSS (with arbitrary values)
bg-[#DECD0E]
text-[#DECD0E]
border-[#DECD0E]
// Example usage:
<div className="bg-[#DECD0E]">