Hex Color #DFAA28 - Custom Color

Color Codes

HEX
#DFAA28
RGB
rgb(223, 170, 40)
HSL
hsl(43, 74%, 52%)
CMYK
cmyk(0%, 24%, 82%, 13%)
HSV
hsv(43, 82%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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