#DFDF7C

#dfdf7c ≈ Straw

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

#dfdf7c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 87.45% green and 48.63% blue; printed in CMYK it uses 0% cyan, 0% magenta, 44.39% yellow and 12.55% black. Its hue angle is 60°, with 60.74% saturation and 68.04% 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.98:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.31.

Description generated from the measured properties of this color.

Conversions of #dfdf7c 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.6992

Readable text 1.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dadada ≈ 0.003% of males
Achromatomaly #dcdcbc ≈ 0.001% of males
Protanopia #edd874 ≈ 1.01% of males
Deuteranopia #efdc81 ≈ 1.27% of males
Tritanopia #ebd4c8 ≈ 0.0001% of males
Protanomaly #e8db77 ≈ 1.08% of males
Deuteranomaly #e9dd7f ≈ 4.63% of males
Tritanomaly #e7d9ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dfdf7c  rgb(223, 223, 124)  hsl(60, 61%, 68%)  Straw
#7c7cdf  rgb(124, 124, 223)  hsl(240, 61%, 68%)  Medium Slate Blue
#7cdfdf  rgb(124, 223, 223)  hsl(180, 61%, 68%)  Medium Turquoise
#df7cdf  rgb(223, 124, 223)  hsl(300, 61%, 68%)  Orchid