#D2CF81

#d2cf81 ≈ Straw

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

#d2cf81 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 81.18% green and 50.59% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 38.57% yellow and 17.65% black. Its hue angle is 57.78°, with 47.37% saturation and 66.47% 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 12.98:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.47.

Description generated from the measured properties of this color.

Conversions of #d2cf81 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.5991

Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cecdb2 ≈ 0.001% of males
Protanopia #dbc97b ≈ 1.01% of males
Deuteranopia #ddcd84 ≈ 1.27% of males
Tritanopia #ddc6bc ≈ 0.0001% of males
Protanomaly #d8cc7e ≈ 1.08% of males
Deuteranomaly #d9ce83 ≈ 4.63% of males
Tritanomaly #d9c9a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cf81 {
  color: #d2cf81;
}
Background
.bg-d2cf81 {
  background-color: #d2cf81;
  color: #000000;
}
Border
.border-d2cf81 {
  border: 2px solid #d2cf81;
}
CSS variables
:root {
  --color-primary: #d2cf81;
  --color-primary-rgb: 210 207 129;
  --color-primary-hsl: 58 47% 66%;
}
Gradient
.gradient-d2cf81 {
  background: linear-gradient(135deg, #d2cf81, #acd281);
}
Colored shadow
.shadow-d2cf81 {
  box-shadow: 0 8px 24px rgb(210 207 129 / 0.35);
}

Straw
#d2cf81  rgb(210, 207, 129)  hsl(58, 47%, 66%)  Straw
#8184d2  rgb(129, 132, 210)  hsl(238, 47%, 66%)  Glaucous
#81d2cf  rgb(129, 210, 207)  hsl(178, 47%, 66%)  Medium Turquoise
#cf81d2  rgb(207, 129, 210)  hsl(298, 47%, 66%)  Orchid