#D7CC6E

#d7cc6e ≈ Straw

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

#d7cc6e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 80% green and 43.14% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 48.84% yellow and 15.69% black. Its hue angle is 53.71°, with 56.76% saturation and 63.73% 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.75:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.4.

Description generated from the measured properties of this color.

Conversions of #d7cc6e 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.5876

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cfcbac ≈ 0.001% of males
Protanopia #dbc766 ≈ 1.01% of males
Deuteranopia #decc72 ≈ 1.27% of males
Tritanopia #e4c1b6 ≈ 0.0001% of males
Protanomaly #d9c969 ≈ 1.08% of males
Deuteranomaly #dccc71 ≈ 4.63% of males
Tritanomaly #dfc59e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cc6e {
  color: #d7cc6e;
}
Background
.bg-d7cc6e {
  background-color: #d7cc6e;
  color: #000000;
}
Border
.border-d7cc6e {
  border: 2px solid #d7cc6e;
}
CSS variables
:root {
  --color-primary: #d7cc6e;
  --color-primary-rgb: 215 204 110;
  --color-primary-hsl: 54 57% 64%;
}
Gradient
.gradient-d7cc6e {
  background: linear-gradient(135deg, #d7cc6e, #aed76e);
}
Colored shadow
.shadow-d7cc6e {
  box-shadow: 0 8px 24px rgb(215 204 110 / 0.35);
}

Straw
#d7cc6e  rgb(215, 204, 110)  hsl(54, 57%, 64%)  Straw
#6e79d7  rgb(110, 121, 215)  hsl(234, 57%, 64%)  Glaucous
#6ed7cc  rgb(110, 215, 204)  hsl(174, 57%, 64%)  Medium Turquoise
#cc6ed7  rgb(204, 110, 215)  hsl(294, 57%, 64%)  Orchid