#DCDA7A

#dcda7a ≈ Straw

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

#dcda7a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 85.49% green and 47.84% blue; printed in CMYK it uses 0% cyan, 0.91% magenta, 44.55% yellow and 13.73% black. Its hue angle is 58.78°, with 58.33% saturation and 67.06% 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 14.35:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #dcda7a 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.6676

Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #d8d7b8 ≈ 0.001% of males
Protanopia #e8d372 ≈ 1.01% of males
Deuteranopia #ead77e ≈ 1.27% of males
Tritanopia #e8cfc3 ≈ 0.0001% of males
Protanomaly #e3d675 ≈ 1.08% of males
Deuteranomaly #e4d87d ≈ 4.63% of males
Tritanomaly #e4d4ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcda7a {
  color: #dcda7a;
}
Background
.bg-dcda7a {
  background-color: #dcda7a;
  color: #000000;
}
Border
.border-dcda7a {
  border: 2px solid #dcda7a;
}
CSS variables
:root {
  --color-primary: #dcda7a;
  --color-primary-rgb: 220 218 122;
  --color-primary-hsl: 59 58% 67%;
}
Gradient
.gradient-dcda7a {
  background: linear-gradient(135deg, #dcda7a, #addc7a);
}
Colored shadow
.shadow-dcda7a {
  box-shadow: 0 8px 24px rgb(220 218 122 / 0.35);
}

Straw
#dcda7a  rgb(220, 218, 122)  hsl(59, 58%, 67%)  Straw
#7a7cdc  rgb(122, 124, 220)  hsl(239, 58%, 67%)  Medium Slate Blue
#7adcda  rgb(122, 220, 218)  hsl(179, 58%, 67%)  Medium Turquoise
#da7adc  rgb(218, 122, 220)  hsl(299, 58%, 67%)  Orchid