#D7CC48

#d7cc48 ≈ Straw

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

#d7cc48 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 80% green and 28.24% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 66.51% yellow and 15.69% black. Its hue angle is 55.38°, with 64.13% saturation and 56.27% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #d7cc48 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.581

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cecaa5 ≈ 0.001% of males
Protanopia #ddc536 ≈ 1.01% of males
Deuteranopia #e1cb50 ≈ 1.27% of males
Tritanopia #e7bfb1 ≈ 0.0001% of males
Protanomaly #dbc83e ≈ 1.08% of males
Deuteranomaly #ddcc4d ≈ 4.63% of males
Tritanomaly #e0c493 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cc48 {
  color: #d7cc48;
}
Background
.bg-d7cc48 {
  background-color: #d7cc48;
  color: #000000;
}
Border
.border-d7cc48 {
  border: 2px solid #d7cc48;
}
CSS variables
:root {
  --color-primary: #d7cc48;
  --color-primary-rgb: 215 204 72;
  --color-primary-hsl: 55 64% 56%;
}
Gradient
.gradient-d7cc48 {
  background: linear-gradient(135deg, #d7cc48, #9bd748);
}
Colored shadow
.shadow-d7cc48 {
  box-shadow: 0 8px 24px rgb(215 204 72 / 0.35);
}

Straw
#d7cc48  rgb(215, 204, 72)  hsl(55, 64%, 56%)  Straw
#4853d7  rgb(72, 83, 215)  hsl(235, 64%, 56%)  Iris
#48d7cc  rgb(72, 215, 204)  hsl(175, 64%, 56%)  Medium Turquoise
#cc48d7  rgb(204, 72, 215)  hsl(295, 64%, 56%)  Medium Orchid