Hex Color #DBC868 - Custom Color

Color Codes

HEX
#DBC868
RGB
rgb(219, 200, 104)
HSL
hsl(50, 61%, 63%)
CMYK
cmyk(0%, 9%, 53%, 14%)
HSV
hsv(50, 53%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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