#DCD45E

#dcd45e ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#dcd45e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 86.27% red, 83.14% green and 36.86% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 57.27% yellow and 13.73% black. Its hue angle is 56.19°, with 64.29% saturation and 61.57% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.18.

Description generated from the measured properties of this color.

Conversions of #dcd45e 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.6311

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

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d5d2ae ≈ 0.001% of males
Protanopia #e4cd51 ≈ 1.01% of males
Deuteranopia #e8d364 ≈ 1.27% of males
Tritanopia #ebc7ba ≈ 0.0001% of males
Protanomaly #e1d057 ≈ 1.08% of males
Deuteranomaly #e3d362 ≈ 4.63% of males
Tritanomaly #e5cd9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd45e {
  color: #dcd45e;
}
Background
.bg-dcd45e {
  background-color: #dcd45e;
  color: #000000;
}
Border
.border-dcd45e {
  border: 2px solid #dcd45e;
}
CSS variables
:root {
  --color-primary: #dcd45e;
  --color-primary-rgb: 220 212 94;
  --color-primary-hsl: 56 64% 62%;
}
Gradient
.gradient-dcd45e {
  background: linear-gradient(135deg, #dcd45e, #a5dc5e);
}
Colored shadow
.shadow-dcd45e {
  box-shadow: 0 8px 24px rgb(220 212 94 / 0.35);
}

Straw
#dcd45e  rgb(220, 212, 94)  hsl(56, 64%, 62%)  Straw
#5e66dc  rgb(94, 102, 220)  hsl(236, 64%, 62%)  Ultramarine Blue
#5edcd4  rgb(94, 220, 212)  hsl(176, 64%, 62%)  Medium Turquoise
#d45edc  rgb(212, 94, 220)  hsl(296, 64%, 62%)  Orchid