Hex Color #DAB007 - Custom Color

Color Codes

HEX
#DAB007
RGB
rgb(218, 176, 7)
HSL
hsl(48, 94%, 44%)
CMYK
cmyk(0%, 19%, 97%, 15%)
HSV
hsv(48, 97%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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