#D2C55F

#d2c55f ≈ Straw

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

#d2c55f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 77.25% green and 37.25% blue; printed in CMYK it uses 0% cyan, 6.19% magenta, 54.76% yellow and 17.65% black. Its hue angle is 53.22°, with 56.1% saturation and 59.8% 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 11.89:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #d2c55f 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.5446

Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #c9c4a4 ≈ 0.001% of males
Protanopia #d5c055 ≈ 1.01% of males
Deuteranopia #d9c564 ≈ 1.27% of males
Tritanopia #e0b9ae ≈ 0.0001% of males
Protanomaly #d4c259 ≈ 1.08% of males
Deuteranomaly #d6c562 ≈ 4.63% of males
Tritanomaly #dbbe95 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2c55f  rgb(210, 197, 95)  hsl(53, 56%, 60%)  Straw
#5f6cd2  rgb(95, 108, 210)  hsl(233, 56%, 60%)  Royal Blue
#5fd2c5  rgb(95, 210, 197)  hsl(173, 56%, 60%)  Medium Turquoise
#c55fd2  rgb(197, 95, 210)  hsl(293, 56%, 60%)  Medium Orchid