#D8C42E color

#D8C42E rgb(216, 196, 46)
Shades of yellow

The hex color #D8C42E is a moderate yellow.

In the RGB color model it is made of 84.7% red, 76.9% green and 18% blue (216, 196, 46).

Its hue angle is 53°, with 69% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 79% yellow and 15% black.

The closest named color is Paella (#DCC61F), a difference of 1.3 ΔE, which is barely visible.

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

#D8C42E color codes

HEX#D8C42E
RGBrgb(216, 196, 46)
RGB percentrgb(84.7%, 76.9%, 18%)
HSLhsl(53, 69%, 51%)
HSV / HSBhsv(53, 79%, 85%)
CMYKcmyk(0%, 9%, 79%, 15%)
CIE LABlab(78.62, -8.16, 71.42)
CIE LCHlch(78.62, 71.88, 96.52)
CIE XYZxyz(48.554, 54.278, 10.503)
Decimal14205998
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #D8C42E, 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 #D8C42ERatioAAAAAAA large
Sample text11.86:1PassPassPass
Sample text1.77:1FailFailFail
#D8C42E as text onRatioAAAAAAA large
Sample text1.77:1FailFailFail
Sample text11.86: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 #D8C42E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #d8c42e; }
.text { color: #d8c42e; }
.border { border: 2px solid #d8c42e; }
.transparent { background-color: rgb(216 196 46 / 50%); }
.gradient { background: linear-gradient(to right, #d8c42e, #97d82e); }
Background
Text color
Border

Similar colors

Closest common color name: Dandelion.

Questions

What color is #D8C42E?
#D8C42E is a moderate yellow, closest to the named color Paella. It belongs to the yellow family of colors.
What is the RGB value of #D8C42E?
The RGB value is 216, 196, 46: 216 red, 196 green and 46 blue on a 0 to 255 scale.
What is the complementary color of #D8C42E?
The complementary color is #2E42D8, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D8C42E?
Black text. Black text has a contrast ratio of 11.86:1 and white text 1.77:1. WCAG asks for at least 4.5:1 for normal text.