#D4CF6A

#d4cf6a ≈ Straw

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

#d4cf6a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 81.18% green and 41.57% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 50% yellow and 16.86% black. Its hue angle is 57.17°, with 55.21% saturation and 62.35% 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.93:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #d4cf6a 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.5966

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cfcdad ≈ 0.001% of males
Protanopia #dec861 ≈ 1.01% of males
Deuteranopia #e0cd6f ≈ 1.27% of males
Tritanopia #e1c4b8 ≈ 0.0001% of males
Protanomaly #dacb65 ≈ 1.08% of males
Deuteranomaly #dbce6d ≈ 4.63% of males
Tritanomaly #dcc89f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4cf6a {
  color: #d4cf6a;
}
Background
.bg-d4cf6a {
  background-color: #d4cf6a;
  color: #000000;
}
Border
.border-d4cf6a {
  border: 2px solid #d4cf6a;
}
CSS variables
:root {
  --color-primary: #d4cf6a;
  --color-primary-rgb: 212 207 106;
  --color-primary-hsl: 57 55% 62%;
}
Gradient
.gradient-d4cf6a {
  background: linear-gradient(135deg, #d4cf6a, #a4d46a);
}
Colored shadow
.shadow-d4cf6a {
  box-shadow: 0 8px 24px rgb(212 207 106 / 0.35);
}

Straw
#d4cf6a  rgb(212, 207, 106)  hsl(57, 55%, 62%)  Straw
#6a6fd4  rgb(106, 111, 212)  hsl(237, 55%, 62%)  Medium Slate Blue
#6ad4cf  rgb(106, 212, 207)  hsl(177, 55%, 62%)  Medium Turquoise
#cf6ad4  rgb(207, 106, 212)  hsl(297, 55%, 62%)  Orchid