#DCDC7B

#dcdc7b ≈ Straw

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

#dcdc7b 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 48.24% blue; printed in CMYK it uses 0% cyan, 0% magenta, 44.09% yellow and 13.73% black. Its hue angle is 60°, with 58.08% 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.57:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.31.

Description generated from the measured properties of this color.

Conversions of #dcdc7b 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.6783

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

Achromatopsia #d7d7d7 ≈ 0.003% of males
Achromatomaly #d9d9b9 ≈ 0.001% of males
Protanopia #ead573 ≈ 1.01% of males
Deuteranopia #ebd980 ≈ 1.27% of males
Tritanopia #e8d1c5 ≈ 0.0001% of males
Protanomaly #e4d876 ≈ 1.08% of males
Deuteranomaly #e5da7e ≈ 4.63% of males
Tritanomaly #e3d6ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcdc7b  rgb(220, 220, 123)  hsl(60, 58%, 67%)  Straw
#7b7bdc  rgb(123, 123, 220)  hsl(240, 58%, 67%)  Medium Slate Blue
#7bdcdc  rgb(123, 220, 220)  hsl(180, 58%, 67%)  Medium Turquoise
#dc7bdc  rgb(220, 123, 220)  hsl(300, 58%, 67%)  Orchid