#D2C74B

#d2c74b ≈ Straw

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

#d2c74b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 78.04% green and 29.41% blue; printed in CMYK it uses 0% cyan, 5.24% magenta, 64.29% yellow and 17.65% black. Its hue angle is 55.11°, with 60% saturation and 55.88% 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.01:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.

Description generated from the measured properties of this color.

Conversions of #d2c74b 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.5506

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cac5a1 ≈ 0.001% of males
Protanopia #d8c03b ≈ 1.01% of males
Deuteranopia #dcc752 ≈ 1.27% of males
Tritanopia #e1baad ≈ 0.0001% of males
Protanomaly #d5c342 ≈ 1.08% of males
Deuteranomaly #d8c74f ≈ 4.63% of males
Tritanomaly #dbbf90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c74b {
  color: #d2c74b;
}
Background
.bg-d2c74b {
  background-color: #d2c74b;
  color: #000000;
}
Border
.border-d2c74b {
  border: 2px solid #d2c74b;
}
CSS variables
:root {
  --color-primary: #d2c74b;
  --color-primary-rgb: 210 199 75;
  --color-primary-hsl: 55 60% 56%;
}
Gradient
.gradient-d2c74b {
  background: linear-gradient(135deg, #d2c74b, #99d24b);
}
Colored shadow
.shadow-d2c74b {
  box-shadow: 0 8px 24px rgb(210 199 75 / 0.35);
}

Straw
#d2c74b  rgb(210, 199, 75)  hsl(55, 60%, 56%)  Straw
#4b56d2  rgb(75, 86, 210)  hsl(235, 60%, 56%)  Iris
#4bd2c7  rgb(75, 210, 199)  hsl(175, 60%, 56%)  Medium Turquoise
#c74bd2  rgb(199, 75, 210)  hsl(295, 60%, 56%)  Medium Orchid