#D2CF40

#d2cf40 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d2cf40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.18% green and 25.1% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 69.52% yellow and 17.65% black. Its hue angle is 58.77°, with 61.86% saturation and 53.73% 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.74:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.29.

Description generated from the measured properties of this color.

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

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcca4 ≈ 0.001% of males
Protanopia #e0c728 ≈ 1.01% of males
Deuteranopia #e2cc4a ≈ 1.27% of males
Tritanopia #e1c2b3 ≈ 0.0001% of males
Protanomaly #daca33 ≈ 1.08% of males
Deuteranomaly #dccd46 ≈ 4.63% of males
Tritanomaly #dbc793 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cf40 {
  color: #d2cf40;
}
Background
.bg-d2cf40 {
  background-color: #d2cf40;
  color: #000000;
}
Border
.border-d2cf40 {
  border: 2px solid #d2cf40;
}
CSS variables
:root {
  --color-primary: #d2cf40;
  --color-primary-rgb: 210 207 64;
  --color-primary-hsl: 59 62% 54%;
}
Gradient
.gradient-d2cf40 {
  background: linear-gradient(135deg, #d2cf40, #8cd240);
}
Colored shadow
.shadow-d2cf40 {
  box-shadow: 0 8px 24px rgb(210 207 64 / 0.35);
}

Straw
#d2cf40  rgb(210, 207, 64)  hsl(59, 62%, 54%)  Straw
#4043d2  rgb(64, 67, 210)  hsl(239, 62%, 54%)  Ocean Blue
#40d2cf  rgb(64, 210, 207)  hsl(179, 62%, 54%)  Medium Turquoise
#cf40d2  rgb(207, 64, 210)  hsl(299, 62%, 54%)  Medium Orchid