#D5CC8F

#d5cc8f ≈ Vanilla

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#d5cc8f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 80% green and 56.08% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 32.86% yellow and 16.47% black. Its hue angle is 52.29°, with 45.45% saturation and 69.8% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 12.86:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 6.3.

Description generated from the measured properties of this color.

Conversions of #d5cc8f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5932

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cfcbb6 ≈ 0.001% of males
Protanopia #d7c88b ≈ 1.01% of males
Deuteranopia #dacc91 ≈ 1.27% of males
Tritanopia #dfc4bc ≈ 0.0001% of males
Protanomaly #d6ca8c ≈ 1.08% of males
Deuteranomaly #d8cc90 ≈ 4.63% of males
Tritanomaly #dbc7ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5cc8f {
  color: #d5cc8f;
}
Background
.bg-d5cc8f {
  background-color: #d5cc8f;
  color: #000000;
}
Border
.border-d5cc8f {
  border: 2px solid #d5cc8f;
}
CSS variables
:root {
  --color-primary: #d5cc8f;
  --color-primary-rgb: 213 204 143;
  --color-primary-hsl: 52 45% 70%;
}
Gradient
.gradient-d5cc8f {
  background: linear-gradient(135deg, #d5cc8f, #bbd58f);
}
Colored shadow
.shadow-d5cc8f {
  box-shadow: 0 8px 24px rgb(213 204 143 / 0.35);
}

Vanilla
#d5cc8f  rgb(213, 204, 143)  hsl(52, 45%, 70%)  Vanilla
#8f98d5  rgb(143, 152, 213)  hsl(232, 45%, 70%)  Wild Blue Yonder
#8fd5cc  rgb(143, 213, 204)  hsl(172, 45%, 70%)  Medium Turquoise
#cc8fd5  rgb(204, 143, 213)  hsl(292, 45%, 70%)  Wisteria