#D2CD54

#d2cd54 ≈ Straw

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

#d2cd54 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80.39% green and 32.94% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 60% yellow and 17.65% black. Its hue angle is 57.62°, with 58.33% saturation and 57.65% 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.6:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.99.

Description generated from the measured properties of this color.

Conversions of #d2cd54 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.58

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cccaa6 ≈ 0.001% of males
Protanopia #ddc646 ≈ 1.01% of males
Deuteranopia #e0cb5b ≈ 1.27% of males
Tritanopia #e0c1b3 ≈ 0.0001% of males
Protanomaly #d9c94c ≈ 1.08% of males
Deuteranomaly #dacc58 ≈ 4.63% of males
Tritanomaly #dbc696 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2cd54  rgb(210, 205, 84)  hsl(58, 58%, 58%)  Straw
#5459d2  rgb(84, 89, 210)  hsl(238, 58%, 58%)  Iris
#54d2cd  rgb(84, 210, 205)  hsl(178, 58%, 58%)  Medium Turquoise
#cd54d2  rgb(205, 84, 210)  hsl(298, 58%, 58%)  Medium Orchid