#D9CC8A

#d9cc8a ≈ Flax

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

#d9cc8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 80% green and 54.12% blue; printed in CMYK it uses 0% cyan, 5.99% magenta, 36.41% yellow and 14.9% black. Its hue angle is 50.13°, with 50.97% saturation and 69.61% 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.95:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.65.

Description generated from the measured properties of this color.

Conversions of #d9cc8a 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.5977

Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d1cbb5 ≈ 0.001% of males
Protanopia #d8c885 ≈ 1.01% of males
Deuteranopia #dccd8c ≈ 1.27% of males
Tritanopia #e4c3bb ≈ 0.0001% of males
Protanomaly #d9ca87 ≈ 1.08% of males
Deuteranomaly #dbcd8b ≈ 4.63% of males
Tritanomaly #e0c7aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9cc8a {
  color: #d9cc8a;
}
Background
.bg-d9cc8a {
  background-color: #d9cc8a;
  color: #000000;
}
Border
.border-d9cc8a {
  border: 2px solid #d9cc8a;
}
CSS variables
:root {
  --color-primary: #d9cc8a;
  --color-primary-rgb: 217 204 138;
  --color-primary-hsl: 50 51% 70%;
}
Gradient
.gradient-d9cc8a {
  background: linear-gradient(135deg, #d9cc8a, #bfd98a);
}
Colored shadow
.shadow-d9cc8a {
  box-shadow: 0 8px 24px rgb(217 204 138 / 0.35);
}

Flax
#d9cc8a  rgb(217, 204, 138)  hsl(50, 51%, 70%)  Flax
#8a97d9  rgb(138, 151, 217)  hsl(230, 51%, 70%)  Cornflower Blue
#8ad9cc  rgb(138, 217, 204)  hsl(170, 51%, 70%)  Turquoise
#cc8ad9  rgb(204, 138, 217)  hsl(290, 51%, 70%)  Floral Lavender