#DCD54A

#dcd54a ≈ Straw

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

#dcd54a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 83.53% green and 29.02% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 66.36% yellow and 13.73% black. Its hue angle is 57.12°, with 67.59% saturation and 57.65% 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 13.66:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #dcd54a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.633

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d5d2ab ≈ 0.001% of males
Protanopia #e7cd36 ≈ 1.01% of males
Deuteranopia #ead353 ≈ 1.27% of males
Tritanopia #ecc7b9 ≈ 0.0001% of males
Protanomaly #e2d03f ≈ 1.08% of males
Deuteranomaly #e4d450 ≈ 4.63% of males
Tritanomaly #e6cd99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcd54a  rgb(220, 213, 74)  hsl(57, 68%, 58%)  Straw
#4a51dc  rgb(74, 81, 220)  hsl(237, 68%, 58%)  Iris
#4adcd5  rgb(74, 220, 213)  hsl(177, 68%, 58%)  Medium Turquoise
#d54adc  rgb(213, 74, 220)  hsl(297, 68%, 58%)  Medium Orchid