#D5C158 color

#D5C158 rgb(213, 193, 88)
Shades of yellow

The hex color #D5C158 is a moderate yellow.

In the RGB color model it is made of 83.5% red, 75.7% green and 34.5% blue (213, 193, 88).

Its hue angle is 50°, with 60% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 59% yellow and 16% black.

The closest named color is Duck Butter (#DDC75B), a difference of 1.7 ΔE, which is barely visible.

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

#D5C158 color codes

HEX#D5C158
RGBrgb(213, 193, 88)
RGB percentrgb(83.5%, 75.7%, 34.5%)
HSLhsl(50, 60%, 59%)
HSV / HSBhsv(50, 59%, 84%)
CMYKcmyk(0%, 9%, 59%, 16%)
CIE LABlab(77.87, -5.69, 54.33)
CIE LCHlch(77.87, 54.63, 95.98)
CIE XYZxyz(48.274, 52.993, 16.916)
Decimal14008664
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #d5c158; }
.text { color: #d5c158; }
.border { border: 2px solid #d5c158; }
.transparent { background-color: rgb(213 193 88 / 50%); }
.gradient { background: linear-gradient(to right, #d5c158, #abd558); }
Background
Text color
Border

Similar colors

Closest common color name: Metallic Gold.

Questions

What color is #D5C158?
#D5C158 is a moderate yellow, closest to the named color Duck Butter. It belongs to the yellow family of colors.
What is the RGB value of #D5C158?
The RGB value is 213, 193, 88: 213 red, 193 green and 88 blue on a 0 to 255 scale.
What is the complementary color of #D5C158?
The complementary color is #586CD5, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D5C158?
Black text. Black text has a contrast ratio of 11.6:1 and white text 1.81:1. WCAG asks for at least 4.5:1 for normal text.