#DCDC7F

#dcdc7f ≈ Straw

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

#dcdc7f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 86.27% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0% magenta, 42.27% yellow and 13.73% black. Its hue angle is 60°, with 57.06% 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.59:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.64.

Description generated from the measured properties of this color.

Conversions of #dcdc7f 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.6793

Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d7d7d7 ≈ 0.003% of males
Achromatomaly #d9d9ba ≈ 0.001% of males
Protanopia #ead577 ≈ 1.01% of males
Deuteranopia #ebd983 ≈ 1.27% of males
Tritanopia #e8d2c6 ≈ 0.0001% of males
Protanomaly #e4d87b ≈ 1.08% of males
Deuteranomaly #e5da82 ≈ 4.63% of males
Tritanomaly #e3d6ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcdc7f  rgb(220, 220, 127)  hsl(60, 57%, 68%)  Straw
#7f7fdc  rgb(127, 127, 220)  hsl(240, 57%, 68%)  Medium Purple
#7fdcdc  rgb(127, 220, 220)  hsl(180, 57%, 68%)  Medium Turquoise
#dc7fdc  rgb(220, 127, 220)  hsl(300, 57%, 68%)  Orchid