#D8CF87

#d8cf87 ≈ Flax

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

#d8cf87 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 81.18% green and 52.94% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 37.5% yellow and 15.29% black. Its hue angle is 53.33°, with 50.94% saturation and 68.82% 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.19:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.03.

Description generated from the measured properties of this color.

Conversions of #d8cf87 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.6097

Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d1ceb5 ≈ 0.001% of males
Protanopia #dbca82 ≈ 1.01% of males
Deuteranopia #decf8a ≈ 1.27% of males
Tritanopia #e3c6bd ≈ 0.0001% of males
Protanomaly #dacc84 ≈ 1.08% of males
Deuteranomaly #dccf89 ≈ 4.63% of males
Tritanomaly #dfc9aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8cf87 {
  color: #d8cf87;
}
Background
.bg-d8cf87 {
  background-color: #d8cf87;
  color: #000000;
}
Border
.border-d8cf87 {
  border: 2px solid #d8cf87;
}
CSS variables
:root {
  --color-primary: #d8cf87;
  --color-primary-rgb: 216 207 135;
  --color-primary-hsl: 53 51% 69%;
}
Gradient
.gradient-d8cf87 {
  background: linear-gradient(135deg, #d8cf87, #b8d887);
}
Colored shadow
.shadow-d8cf87 {
  box-shadow: 0 8px 24px rgb(216 207 135 / 0.35);
}

Flax
#d8cf87  rgb(216, 207, 135)  hsl(53, 51%, 69%)  Flax
#8790d8  rgb(135, 144, 216)  hsl(233, 51%, 69%)  Cornflower Blue
#87d8cf  rgb(135, 216, 207)  hsl(173, 51%, 69%)  Medium Turquoise
#cf87d8  rgb(207, 135, 216)  hsl(293, 51%, 69%)  Orchid