Hex Color #CDD92D - Custom Color
Color Codes
HEX
#CDD92D
RGB
rgb(205, 217, 45)
HSL
hsl(64, 69%, 51%)
CMYK
cmyk(6%, 0%, 79%, 15%)
HSV
hsv(64, 79%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.55:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.56: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: #CDD92D;
color: #CDD92D;
border-color: #CDD92D;
}
Tailwind CSS (with arbitrary values)
bg-[#CDD92D]
text-[#CDD92D]
border-[#CDD92D]
// Example usage:
<div className="bg-[#CDD92D]">