#D2CF45

#d2cf45 ≈ Straw

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

#d2cf45 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 27.06% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 67.14% yellow and 17.65% black. Its hue angle is 58.72°, with 61.04% saturation and 54.71% 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.75:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #d2cf45 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.5876

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdcca5 ≈ 0.001% of males
Protanopia #e0c730 ≈ 1.01% of males
Deuteranopia #e2cc4e ≈ 1.27% of males
Tritanopia #e1c2b3 ≈ 0.0001% of males
Protanomaly #daca3a ≈ 1.08% of males
Deuteranomaly #dccd4b ≈ 4.63% of males
Tritanomaly #dbc794 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2cf45  rgb(210, 207, 69)  hsl(59, 61%, 55%)  Straw
#4548d2  rgb(69, 72, 210)  hsl(239, 61%, 55%)  Iris
#45d2cf  rgb(69, 210, 207)  hsl(179, 61%, 55%)  Medium Turquoise
#cf45d2  rgb(207, 69, 210)  hsl(299, 61%, 55%)  Medium Orchid