#DCD74B

#dcd74b ≈ Straw

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

#dcd74b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 84.31% green and 29.41% blue; printed in CMYK it uses 0% cyan, 2.27% magenta, 65.91% yellow and 13.73% black. Its hue angle is 57.93°, with 67.44% saturation and 57.84% 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.86:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.14.

Description generated from the measured properties of this color.

Conversions of #dcd74b 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.6432

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d6d4ac ≈ 0.001% of males
Protanopia #e8cf37 ≈ 1.01% of males
Deuteranopia #ebd454 ≈ 1.27% of males
Tritanopia #ebc9bb ≈ 0.0001% of males
Protanomaly #e4d240 ≈ 1.08% of males
Deuteranomaly #e5d551 ≈ 4.63% of males
Tritanomaly #e5cf9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcd74b  rgb(220, 215, 75)  hsl(58, 67%, 58%)  Straw
#4b50dc  rgb(75, 80, 220)  hsl(238, 67%, 58%)  Iris
#4bdcd7  rgb(75, 220, 215)  hsl(178, 67%, 58%)  Medium Turquoise
#d74bdc  rgb(215, 75, 220)  hsl(298, 67%, 58%)  Medium Orchid