#D4C38F color
The hex color #D4C38F is a light, desaturated yellow.
In the RGB color model it is made of 83.1% red, 76.5% green and 56.1% blue (212, 195, 143).
Its hue angle is 45°, with 45% saturation and 70% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 33% yellow and 17% black.
The closest named color is Desert Temple (#DDCC99), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12:1).
#D4C38F color codes
| HEX | #D4C38F | |
|---|---|---|
| RGB | rgb(212, 195, 143) | |
| RGB percent | rgb(83.1%, 76.5%, 56.1%) | |
| HSL | hsl(45, 45%, 70%) | |
| HSV / HSB | hsv(45, 33%, 83%) | |
| CMYK | cmyk(0%, 8%, 33%, 17%) | |
| CIE LAB | lab(79.05, -1.74, 28.35) | |
| CIE LCH | lch(79.05, 28.4, 93.51) | |
| CIE XYZ | xyz(51.625, 55.012, 33.88) | |
| Decimal | 13943695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D4C38F, 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 #D4C38F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12:1 | Pass | Pass | Pass |
| Sample text | 1.75:1 | Fail | Fail | Fail |
| #D4C38F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12:1 | Pass | Pass | Pass |
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 #D4C38F looks to people with the most common types of color vision deficiency.
#cec18bProtanopia
no red cones#d3c691Deuteranopia
no green cones#dfbbb5Tritanopia
no blue cones#c4c4c4Achromatopsia
no color vision
CSS examples
.background { background-color: #d4c38f; }
.text { color: #d4c38f; }
.border { border: 2px solid #d4c38f; }
.transparent { background-color: rgb(212 195 143 / 50%); }
.gradient { background: linear-gradient(to right, #d4c38f, #c3d48f); }
Similar colors
#ddcc99Desert Temple#d4c990Golden Mist#dac292Buff#d4ca8eRoyal Goblet#e2cc9cPrairie Land#e4cf99Honeycomb Glow#e0d1a0Woven#dfc68524 Karat
Questions
- What color is #D4C38F?
- #D4C38F is a light, desaturated yellow, closest to the named color Desert Temple. It belongs to the beige family of colors.
- What is the RGB value of #D4C38F?
- The RGB value is 212, 195, 143: 212 red, 195 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #D4C38F?
- The complementary color is #8FA0D4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D4C38F?
- Black text. Black text has a contrast ratio of 12:1 and white text 1.75:1. WCAG asks for at least 4.5:1 for normal text.