Hex Color #D7C97E - Custom Color

Color Codes

HEX
#D7C97E
RGB
rgb(215, 201, 126)
HSL
hsl(51, 53%, 67%)
CMYK
cmyk(0%, 7%, 41%, 16%)
HSV
hsv(51, 41%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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