#D8CD8A

#d8cd8a ≈ Flax

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

#d8cd8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 80.39% green and 54.12% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 36.11% yellow and 15.29% black. Its hue angle is 51.54°, with 50% saturation and 69.41% 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 13.02:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.59.

Description generated from the measured properties of this color.

Conversions of #d8cd8a 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.601

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d1ccb5 ≈ 0.001% of males
Protanopia #d9c985 ≈ 1.01% of males
Deuteranopia #ddce8d ≈ 1.27% of males
Tritanopia #e3c4bc ≈ 0.0001% of males
Protanomaly #d9cb87 ≈ 1.08% of males
Deuteranomaly #dbcd8c ≈ 4.63% of males
Tritanomaly #dfc8aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8cd8a {
  color: #d8cd8a;
}
Background
.bg-d8cd8a {
  background-color: #d8cd8a;
  color: #000000;
}
Border
.border-d8cd8a {
  border: 2px solid #d8cd8a;
}
CSS variables
:root {
  --color-primary: #d8cd8a;
  --color-primary-rgb: 216 205 138;
  --color-primary-hsl: 52 50% 69%;
}
Gradient
.gradient-d8cd8a {
  background: linear-gradient(135deg, #d8cd8a, #bcd88a);
}
Colored shadow
.shadow-d8cd8a {
  box-shadow: 0 8px 24px rgb(216 205 138 / 0.35);
}

Flax
#d8cd8a  rgb(216, 205, 138)  hsl(52, 50%, 69%)  Flax
#8a95d8  rgb(138, 149, 216)  hsl(232, 50%, 69%)  Cornflower Blue
#8ad8cd  rgb(138, 216, 205)  hsl(172, 50%, 69%)  Medium Turquoise
#cd8ad8  rgb(205, 138, 216)  hsl(292, 50%, 69%)  Violet