#D9CC7E

#d9cc7e ≈ Flax

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

#d9cc7e 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 49.41% blue; printed in CMYK it uses 0% cyan, 5.99% magenta, 41.94% yellow and 14.9% black. Its hue angle is 51.43°, with 54.49% saturation and 67.25% 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.89:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 4.48.

Description generated from the measured properties of this color.

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

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d1cbb1 ≈ 0.001% of males
Protanopia #dac878 ≈ 1.01% of males
Deuteranopia #decd81 ≈ 1.27% of males
Tritanopia #e6c2b9 ≈ 0.0001% of males
Protanomaly #d9c97a ≈ 1.08% of males
Deuteranomaly #dccd80 ≈ 4.63% of males
Tritanomaly #e1c6a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Flax
#d9cc7e  rgb(217, 204, 126)  hsl(51, 54%, 67%)  Flax
#7e8bd9  rgb(126, 139, 217)  hsl(231, 54%, 67%)  Glaucous
#7ed9cc  rgb(126, 217, 204)  hsl(171, 54%, 67%)  Turquoise
#cc7ed9  rgb(204, 126, 217)  hsl(291, 54%, 67%)  Orchid