#DCDC5B

#dcdc5b ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dcdc5b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 86.27% green and 35.69% blue; printed in CMYK it uses 0% cyan, 0% magenta, 58.64% yellow and 13.73% black. Its hue angle is 60°, with 64.82% saturation and 60.98% 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.43:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #dcdc5b 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.6716

Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d6d6d6 ≈ 0.003% of males
Achromatomaly #d8d8b2 ≈ 0.001% of males
Protanopia #ecd44c ≈ 1.01% of males
Deuteranopia #eed863 ≈ 1.27% of males
Tritanopia #eacfc0 ≈ 0.0001% of males
Protanomaly #e6d753 ≈ 1.08% of males
Deuteranomaly #e7da60 ≈ 4.63% of males
Tritanomaly #e5d4a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcdc5b  rgb(220, 220, 91)  hsl(60, 65%, 61%)  Straw
#5b5bdc  rgb(91, 91, 220)  hsl(240, 65%, 61%)  Slate Blue
#5bdcdc  rgb(91, 220, 220)  hsl(180, 65%, 61%)  Medium Turquoise
#dc5bdc  rgb(220, 91, 220)  hsl(300, 65%, 61%)  Orchid