#D2C962

#d2c962 ≈ Straw

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

#d2c962 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 78.82% green and 38.43% blue; printed in CMYK it uses 0% cyan, 4.29% magenta, 53.33% yellow and 17.65% black. Its hue angle is 55.18°, with 55.45% saturation and 60.39% 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.27:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.94.

Description generated from the measured properties of this color.

Conversions of #d2c962 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.5636

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc7a7 ≈ 0.001% of males
Protanopia #d8c358 ≈ 1.01% of males
Deuteranopia #dbc867 ≈ 1.27% of males
Tritanopia #e0bdb2 ≈ 0.0001% of males
Protanomaly #d6c55c ≈ 1.08% of males
Deuteranomaly #d8c965 ≈ 4.63% of males
Tritanomaly #dac298 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2c962  rgb(210, 201, 98)  hsl(55, 55%, 60%)  Straw
#626bd2  rgb(98, 107, 210)  hsl(235, 55%, 60%)  Royal Blue
#62d2c9  rgb(98, 210, 201)  hsl(175, 55%, 60%)  Medium Turquoise
#c962d2  rgb(201, 98, 210)  hsl(295, 55%, 60%)  Medium Orchid