#DCD27C

#dcd27c ≈ Straw

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

#dcd27c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 82.35% green and 48.63% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 43.64% yellow and 13.73% black. Its hue angle is 53.75°, with 57.83% saturation and 67.45% 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.55:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #dcd27c 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.6276

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d5d1b4 ≈ 0.001% of males
Protanopia #e0cd75 ≈ 1.01% of males
Deuteranopia #e3d280 ≈ 1.27% of males
Tritanopia #e9c7bd ≈ 0.0001% of males
Protanomaly #decf78 ≈ 1.08% of males
Deuteranomaly #e1d27e ≈ 4.63% of males
Tritanomaly #e4cca7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcd27c  rgb(220, 210, 124)  hsl(54, 58%, 67%)  Straw
#7c86dc  rgb(124, 134, 220)  hsl(234, 58%, 67%)  Glaucous
#7cdcd2  rgb(124, 220, 210)  hsl(174, 58%, 67%)  Medium Turquoise
#d27cdc  rgb(210, 124, 220)  hsl(294, 58%, 67%)  Orchid