#dcd398 Color Information

#dcd398 Color Information
Details | Shades, Tints, and Tones | Variations | Color Coordinates | Color Schemes | HTML+CSS Examples | Coding & Programming | Color Blindness | Accessibility | Related Colors

The hexadecimal value (hex value) of this color is #dcd398. In RGB, it consists of 86.3% Red, 82.7% Green, and 59.6% Blue. Likewise, in the CMYK color space, it consists of 0% Cyan, 4.1% Magenta, 30.9% Yellow, and 13.7% Black. On the color wheel, its Hue is found at 52.1°, with saturation of 49.3% and lightness of 72.9%. The decimal value for #dcd398 is 14472088, and its nearest "web safe" color is #cccc99. In the RGB color space, the strongest component for #dcd398 is red. In the CMYK color space, its strongest component is yellow. And in the RYB color space, its strongest component is yellow.
  • HexHex code for this color#dcd398 Copy
  • NameThe common name of this color(Unnamed) Copy
  • RGBRed, Green, Blue composition for this color220, 211, 152 Copy
  • RGB PercentPercent Red, Green, Blue composition for this color86.3%, 82.7%, 59.6% Copy
  • CMYCyan, Magenta, Yellow composition for this color0.137, 0.173, 0.404 Copy
  • CMYKCyan, Magenta, Yellow, Black composition for this color0, 0.041, 0.309, 0.137 Copy
  • HSLHue, Saturation, Lightness combination for this color52.1°, 49.3%, 72.9% Copy
  • HSV (or HSB)Hue, Saturation, Brightness combination for this color52.1°, 30.9%, 86.3% Copy
  • XYZCIE 1931 color space XYZ coordinates for this color58.477, 64.071, 38.991 Copy
  • RYBRed, Yellow, Blue composition for this color162, 220, 152 Copy
  • DecimalDecimal representation of this color's hex code14472088 Copy
  • CIE-LABCIELAB color space coordinates for this color84.003, -5.789, 30.394 Copy
  • CIE-LCHCIE-LCH color space coordinates for this color (chroma, hue, etc.)84.003, 30.940, 100.784 Copy
  • CIE-LUVCIE-LUV color space coordinates for this color84.003, 8.705, 42.632 Copy
  • Hunter LabHunter-Lab color space coordinates for this color80.044, -9.674, 27.150 Copy
  • xyYCIE xyY color space coordinates for this color0.362, 0.397, 64.071 Copy
  • AndroidValue of this color in Android development4292662168 / 0xffdcd398 Copy
  • Web SafeHex code of the nearest "web safe" version of this color#cccc99 Copy
Last Updated: November 23, 2024

Shades of #dcd398

Shades are created by adding black to or removing lightness from a particular color. For #dcd398, its pure hue is 52.1° on the color wheel and its saturation is 49.3%, and its lightness is 72.9%. As the amount of black is added to this hue and we reduce its lightness, the result is increasingly darker shades tints. The palette given below provides 9 different shades of #dcd398, which — excluding black and our original color — range from #1c1a13 to #c1b985.

Tints of #dcd398

Tints are created by adding white or lightness to a particular color. For #dcd398, its pure hue is 52.1° on the color wheel and its saturation is 49.3%, and its lightness is 72.9%. As the amount of white (lightness) is added to this hue, the result is increasingly lighter tints. The following palette gives 9 different tints of #dcd398, which — excluding white and our original color — range from #e0d9a5 to #fbfaf2.

Tones of #dcd398

Tones are the result of adding gray to a pure hue. In the case of #dcd398, its pure hue is 52.1° on the color wheel and its saturation is 49.3%, so we increase this saturation to create more colorful tones, and decrease the saturation to create grayer tones. The palette shown below gives 9 different tones of #dcd398, which range from #bababa (the grayest / 0% saturation) to #ffed75 (the most colorful / 100% saturation).

Variations of #dcd398

There are several ways to create color variations and premutations of #dcd398! For #dcd398, there are 6 variations of the color that can be created by swapping its Red, Green, and Blue color positions, of which 5 are different from our original color. Among these six variations, there are 6 unique colors including our original color, #dcd398. Click on these colors to learn more about them, too!

Color Coordinates of #dcd398

This color, #dcd398, consists of 86.3% Red, 82.7% Green, and 59.6% Blue, resulting in color coordinates Red = 220, Green = 211, Blue = 152. Likewise, the CMYK color space composition for #dcd398 is 0% Cyan, 4.1% Magenta, 30.9% Yellow, and 13.7% Black. These values are shown in the following charts and tables.

R86.3%
C0.0%
G82.7%
M4.1%
B59.6%
Y30.9%
K13.7%
Color Base R (Red) G (Green) B (Blue)
Decimal 220 211 152
Octal 334 323 230
Hexa #dc #d3 #98
Binary 11011100 11010011 10011000
Color Base C (Cyan) M (Magenta) Y (Yellow) Y (Black)
Decimal 0 4 30 13
Octal 0 4 36 15
Hexa #00 #04 #1e #0d
Binary 00000000 00000100 00011110 00001101

Analogous Colors of #dcd398

Analogous colors are located 30 degrees away from a color's hue on the color wheel. For #dcd398 — which has hue 52.1° — its analogous colors are located at 22.1° and 82.1° on the color wheel, with the same saturation and lightness as #dcd398.

Triadic Colors of #dcd398

Triadic colors are located 120 degrees away from a color's hue on the color wheel, which means the original color and its triadic colors are equidistant from one another on the color wheel and form a triangle. For #dcd398 — which has hue 52.1° — its triadic colors are located at 52.1° and 292.1° on the color wheel, with the same saturation and lightness as #dcd398.

Complementary Color of #dcd398

A complementary color is located opposite a color on the color wheel (180 degrees away). For #dcd398 — which has hue 52.1° — its complementary color is located at 232.1° on the color wheel, with the same saturation and lightness as #dcd398.

Split Complementary Colors of #dcd398

Split complementary colors are the analogs of a color's complement, which places them 210 degrees away on the color wheel from an original color. For #dcd398 — which has hue 52.1° — its split complementary colors its split complementary colors are located at 52.1° and 262.1° on the color wheel, with the same saturation and lightness as #dcd398.

Tetradic Colors of #dcd398

Tetradic colors are two sets of complementary colors on either side of a color wheel from each other, forming a rectangle on the color wheel. For #dcd398 — which has hue 52.1° — its tetradic colors are located at 322.1°, 52.1°, 142.1°, and 232.1° on the color wheel, with the same saturation and lightness as #dcd398.

Monochromatic Colors of #dcd398

Monochromatic colors are colors that share a common hue but that have different saturations and lightness. For #dcd398, we show 9 different monochromatic colors of it, ranging from #b1aa7e — (which has very low saturation and very low lightness) — to #f6efc3 (which has a very high saturation and very high lightness).

HTML+CSS Examples & Previews of #dcd398

We want to make getting started with #dcd398 on your website fast and easy! Below are 8 examples of how to integrate #dcd398 into a website using HTML+CSS. These examples include showing how #dcd398 can be used to color text, backgrounds, shadows, and borders, as well as how it can be used as a solid fill or gradient fill for rectangles. These examples principally make use of <span> and <div> tags, although the CSS shown in particular can be repurposed to make use of #dcd398 with other HTML elements.

#dcd398 Foreground / Text Color

The color of this text is #dcd398.
<span style="color: #dcd398;">The color of this text is #dcd398.</span>

#dcd398 Background Color

The background color for this text is #dcd398.
<div style="background-color: #dcd398; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">The background color for this text is #dcd398.</div>

#dcd398 Text Shadow Color

This color for the shadow of this text is #dcd398.
<span style="text-shadow: 3px 3px 3px #dcd398;">This color for the shadow of this text is #dcd398.</span>

#dcd398 Border Color

This is a div with border color #dcd398.
<div style="border: #dcd398 4px solid;width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a div with border color #dcd398.</div>

#dcd398 Color Rectangle on a White Background

This is a rectangle of color #dcd398 on a white background.
<div style="background-color: #ffffff; padding: 60px; width:100%; height: 100%;"><div style="background-color: #dcd398; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #dcd398 on a white background.</div></div>

#dcd398 Color Rectangle on a Black Background

This is a rectangle of color #dcd398 on a black background.
<div style="background-color: #000000; padding: 60px; width:100%; height: 100%;"><div style="background-color: #dcd398; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #dcd398 on a black background.</div></div>

Gradient from #dcd398 to White

This is a gradient from #dcd398 to white.
<div style="background: -webkit-linear-gradient(left,#dcd398,white); /* Firefox */ background: linear-gradient(to right,#dcd398,white); /* Safari */ background: -o-linear-gradient(left,#dcd398,white); /* Opera */ background: -moz-linear-gradient(left,#dcd398,white); width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #dcd398 to white.</div>

Gradient from #dcd398 to Black

This is a gradient from #dcd398 to black.
<div style="background: -webkit-linear-gradient(left,#dcd398,black); /* Firefox */ background: linear-gradient(to right,#dcd398,black); /* Safari */ background: -o-linear-gradient(left,#dcd398,black); /* Opera */ background: -moz-linear-gradient(left,#dcd398,black); color: #ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #dcd398 to black.</div>

Coding & Programming with #dcd398

In addition to using #dcd398 on the web, we know you might want to use it in your mobile and desktop apps, too. Whatever your needs, the table below shows how to access #dcd398 in the language and environment of your choice. These code snippets are principally the hexadecimal representation of #dcd398, or the RGB color coordinates for the same (Red = 220, Green = 211, Blue = 152). If you need details about the color coordinates of #dcd398 in other color spaces, refer to these details as provided toward the top of this page.

Language Environment Code Snippet
HTML + CSS (Hex Code) Web #dcd398
HTML + CSS (RGB Code) Web rgb(220, 211, 152)
CSS Background Color Web .myclass { background-color: #dcd398; }
CSS Foreground + Text Color Web .myclass { color: #dcd398; }
CSS Border Color Web .myclass { border: 2px solid #dcd398; }
Java (Multi-platform) new Color(220, 211, 152);
Python (Multi-platform) Color("#dcd398")
Swift iOS UIColor(red:220, green:211, blue:152, alpha:1.0000)
Objective-C (iOS) iOS [UIColor colorWithRed:220 green:211 blue:152 alpha:1.0000];
OpenGL (Graphics) glColor3f(220f, 211f, 152f);
C# / .NET Windows Color.FromArgb(220, 211, 152);
 

#dcd398 Color Blindness

Not everyone can see #dcd398 the same way. For those with color blindness, #dcd398 might look very, very different. Here, we simulate eight examples of color blindness, and how #dcd398 looks next to each one of them. In all cases, #dcd398 is placed in a circle in the upper-left corner of each of the below boxes, with the color in the rest of those boxes signifying how #dcd398 looks for someone with that type of color blindness. Many people will perceive close similarities between the colors in these boxes and the colors in the circles — with some noticing particular similarities. We offer this insight so that as you make choices about colors to use for your purposes, you can make an informed decision about whether #dcd398 will be a good fit for everyone in your audience!

Trichromacy

Protanomaly
Affects 1 in 100 Men & 1 in 10,000 Women

Deuteranomaly
Affects 1 in 17 Men & 1 in 250 Women

Tritanomaly
Affects 1 in 10,000

Dichromacy

Protanopia
Affects 1 in 100, Mostly Men

Deuteranopia
Affects 1 in 100, Mostly Men

Tritanopia
Affects 1 in 100,000

Monochromacy

Achromatopsia
Affects 1 in 20,000

Achromatopsia
Affects 1 in 100,000

Accessibility

Not Accessibility Recommended

We analyzed whether #dcd398 is an accessible color when used as a text / foreground color against a white background. This analysis is based on the Web Content Accessibility Guidelines (WCAG) 2 Level issued by W3C. Based on this analysis, we calculate a contrast ratio against white of approximately 1.5:1 against white. Under both the AA and AAA level standards, this is not a high enough ratio to be considered accessible for either normal size or large text.

WCAG AA
Normal Size Text

WCAG AA
Large Size Text

WCAG AAA
Normal Size Text

WCAG AAA
Large Size Text