#DCD18C

#dcd18c ≈ Flax

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

#dcd18c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 81.96% green and 54.9% blue; printed in CMYK it uses 0% cyan, 5% magenta, 36.36% yellow and 13.73% black. Its hue angle is 51.75°, with 53.33% saturation and 70.59% 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.54:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 4.78.

Description generated from the measured properties of this color.

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

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

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d5d0b8 ≈ 0.001% of males
Protanopia #ddcd87 ≈ 1.01% of males
Deuteranopia #e1d28f ≈ 1.27% of males
Tritanopia #e7c8bf ≈ 0.0001% of males
Protanomaly #ddcf89 ≈ 1.08% of males
Deuteranomaly #dfd18e ≈ 4.63% of males
Tritanomaly #e3ccad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd18c {
  color: #dcd18c;
}
Background
.bg-dcd18c {
  background-color: #dcd18c;
  color: #000000;
}
Border
.border-dcd18c {
  border: 2px solid #dcd18c;
}
CSS variables
:root {
  --color-primary: #dcd18c;
  --color-primary-rgb: 220 209 140;
  --color-primary-hsl: 52 53% 71%;
}
Gradient
.gradient-dcd18c {
  background: linear-gradient(135deg, #dcd18c, #bfdc8c);
}
Colored shadow
.shadow-dcd18c {
  box-shadow: 0 8px 24px rgb(220 209 140 / 0.35);
}

Flax
#dcd18c  rgb(220, 209, 140)  hsl(52, 53%, 71%)  Flax
#8c97dc  rgb(140, 151, 220)  hsl(232, 53%, 71%)  Wild Blue Yonder
#8cdcd1  rgb(140, 220, 209)  hsl(172, 53%, 71%)  Medium Turquoise
#d18cdc  rgb(209, 140, 220)  hsl(292, 53%, 71%)  Violet