#D2CC3D color

#D2CC3D rgb(210, 204, 61)
Shades of yellow

The hex color #D2CC3D is a moderate yellow.

In the RGB color model it is made of 82.4% red, 80% green and 23.9% blue (210, 204, 61).

Its hue angle is 58°, with 62% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 71% yellow and 18% black.

The closest named color is Golden Harvest (#CCCC11), a difference of 2.7 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 12.44:1).

#D2CC3D color codes

HEX#D2CC3D
RGBrgb(210, 204, 61)
RGB percentrgb(82.4%, 80%, 23.9%)
HSLhsl(58, 62%, 53%)
HSV / HSBhsv(58, 71%, 82%)
CMYKcmyk(0%, 3%, 71%, 18%)
CIE LABlab(80.31, -14.15, 67.87)
CIE LCHlch(80.31, 69.33, 101.78)
CIE XYZxyz(49.015, 57.226, 12.878)
Decimal13814845
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #D2CC3D, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #D2CC3DRatioAAAAAAA large
Sample text12.44:1PassPassPass
Sample text1.69:1FailFailFail
#D2CC3D as text onRatioAAAAAAA large
Sample text1.69:1FailFailFail
Sample text12.44:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #D2CC3D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #d2cc3d; }
.text { color: #d2cc3d; }
.border { border: 2px solid #d2cc3d; }
.transparent { background-color: rgb(210 204 61 / 50%); }
.gradient { background: linear-gradient(to right, #d2cc3d, #8dd23d); }
Background
Text color
Border

Similar colors

Closest common color name: Dandelion.

Questions

What color is #D2CC3D?
#D2CC3D is a moderate yellow, closest to the named color Golden Harvest. It belongs to the yellow family of colors.
What is the RGB value of #D2CC3D?
The RGB value is 210, 204, 61: 210 red, 204 green and 61 blue on a 0 to 255 scale.
What is the complementary color of #D2CC3D?
The complementary color is #3D43D2, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D2CC3D?
Black text. Black text has a contrast ratio of 12.44:1 and white text 1.69:1. WCAG asks for at least 4.5:1 for normal text.