#D7CC62

#d7cc62 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#d7cc62 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.31% red, 80% green and 38.43% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 54.42% yellow and 15.69% black. Its hue angle is 54.36°, with 59.39% saturation and 61.37% 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.7:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.09.

Description generated from the measured properties of this color.

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

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcaaa ≈ 0.001% of males
Protanopia #dcc658 ≈ 1.01% of males
Deuteranopia #dfcc67 ≈ 1.27% of males
Tritanopia #e5c0b4 ≈ 0.0001% of males
Protanomaly #dac85c ≈ 1.08% of males
Deuteranomaly #dccc65 ≈ 4.63% of males
Tritanomaly #e0c59a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cc62 {
  color: #d7cc62;
}
Background
.bg-d7cc62 {
  background-color: #d7cc62;
  color: #000000;
}
Border
.border-d7cc62 {
  border: 2px solid #d7cc62;
}
CSS variables
:root {
  --color-primary: #d7cc62;
  --color-primary-rgb: 215 204 98;
  --color-primary-hsl: 54 59% 61%;
}
Gradient
.gradient-d7cc62 {
  background: linear-gradient(135deg, #d7cc62, #a7d762);
}
Colored shadow
.shadow-d7cc62 {
  box-shadow: 0 8px 24px rgb(215 204 98 / 0.35);
}

Straw
#d7cc62  rgb(215, 204, 98)  hsl(54, 59%, 61%)  Straw
#626dd7  rgb(98, 109, 215)  hsl(234, 59%, 61%)  Royal Blue
#62d7cc  rgb(98, 215, 204)  hsl(174, 59%, 61%)  Medium Turquoise
#cc62d7  rgb(204, 98, 215)  hsl(294, 59%, 61%)  Orchid