Hex Color #D4A22B - Custom Color

Color Codes

HEX
#D4A22B
RGB
rgb(212, 162, 43)
HSL
hsl(42, 66%, 50%)
CMYK
cmyk(0%, 24%, 80%, 17%)
HSV
hsv(42, 80%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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