Hex Color #D9DC2D - Custom Color

Color Codes

HEX
#D9DC2D
RGB
rgb(217, 220, 45)
HSL
hsl(61, 71%, 52%)
CMYK
cmyk(1%, 0%, 80%, 14%)
HSV
hsv(61, 80%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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