Hex Color #DDCA2A - Custom Color

Color Codes

HEX
#DDCA2A
RGB
rgb(221, 202, 42)
HSL
hsl(54, 72%, 52%)
CMYK
cmyk(0%, 9%, 81%, 13%)
HSV
hsv(54, 81%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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