#DFD978

#dfd978 ≈ Straw

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

#dfd978 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 85.1% green and 47.06% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 46.19% yellow and 12.55% black. Its hue angle is 56.5°, with 61.68% saturation and 67.25% 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.33:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.91.

Description generated from the measured properties of this color.

Conversions of #dfd978 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.6667

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #d9d7b7 ≈ 0.001% of males
Protanopia #e8d370 ≈ 1.01% of males
Deuteranopia #ead77c ≈ 1.27% of males
Tritanopia #eccec2 ≈ 0.0001% of males
Protanomaly #e4d573 ≈ 1.08% of males
Deuteranomaly #e6d87b ≈ 4.63% of males
Tritanomaly #e7d2a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd978 {
  color: #dfd978;
}
Background
.bg-dfd978 {
  background-color: #dfd978;
  color: #000000;
}
Border
.border-dfd978 {
  border: 2px solid #dfd978;
}
CSS variables
:root {
  --color-primary: #dfd978;
  --color-primary-rgb: 223 217 120;
  --color-primary-hsl: 57 62% 67%;
}
Gradient
.gradient-dfd978 {
  background: linear-gradient(135deg, #dfd978, #b1df78);
}
Colored shadow
.shadow-dfd978 {
  box-shadow: 0 8px 24px rgb(223 217 120 / 0.35);
}

Straw
#dfd978  rgb(223, 217, 120)  hsl(57, 62%, 67%)  Straw
#787edf  rgb(120, 126, 223)  hsl(237, 62%, 67%)  Medium Slate Blue
#78dfd9  rgb(120, 223, 217)  hsl(177, 62%, 67%)  Medium Turquoise
#d978df  rgb(217, 120, 223)  hsl(297, 62%, 67%)  Orchid