Hex Color #D6C97B - Custom Color

Color Codes

HEX
#D6C97B
RGB
rgb(214, 201, 123)
HSL
hsl(51, 53%, 66%)
CMYK
cmyk(0%, 6%, 43%, 16%)
HSV
hsv(51, 43%, 84%)
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.50: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: #D6C97B;
color: #D6C97B;
border-color: #D6C97B;
}

Tailwind CSS (with arbitrary values)

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