Hex Color #CDB22F - Custom Color

Color Codes

HEX
#CDB22F
RGB
rgb(205, 178, 47)
HSL
hsl(50, 63%, 49%)
CMYK
cmyk(0%, 13%, 77%, 20%)
HSV
hsv(50, 77%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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