#DFDC7A

#dfdc7a ≈ Straw

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

#dfdc7a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 86.27% green and 47.84% blue; printed in CMYK it uses 0% cyan, 1.35% magenta, 45.29% yellow and 12.55% black. Its hue angle is 58.22°, with 61.21% saturation and 67.65% 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.66:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.53.

Description generated from the measured properties of this color.

Conversions of #dfdc7a 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.6828

Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d7d7d7 ≈ 0.003% of males
Achromatomaly #dbd9b9 ≈ 0.001% of males
Protanopia #ead572 ≈ 1.01% of males
Deuteranopia #ecd97f ≈ 1.27% of males
Tritanopia #ecd1c5 ≈ 0.0001% of males
Protanomaly #e6d875 ≈ 1.08% of males
Deuteranomaly #e7da7d ≈ 4.63% of males
Tritanomaly #e7d5ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dfdc7a  rgb(223, 220, 122)  hsl(58, 61%, 68%)  Straw
#7a7ddf  rgb(122, 125, 223)  hsl(238, 61%, 68%)  Medium Slate Blue
#7adfdc  rgb(122, 223, 220)  hsl(178, 61%, 68%)  Medium Turquoise
#dc7adf  rgb(220, 122, 223)  hsl(298, 61%, 68%)  Orchid