#D2CA54

#d2ca54 ≈ Straw

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

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

Description generated from the measured properties of this color.

Conversions of #d2ca54 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.5658

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc8a5 ≈ 0.001% of males
Protanopia #dac347 ≈ 1.01% of males
Deuteranopia #ddc95b ≈ 1.27% of males
Tritanopia #e0beb1 ≈ 0.0001% of males
Protanomaly #d7c64c ≈ 1.08% of males
Deuteranomaly #d9c958 ≈ 4.63% of males
Tritanomaly #dbc395 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2ca54  rgb(210, 202, 84)  hsl(56, 58%, 58%)  Straw
#545cd2  rgb(84, 92, 210)  hsl(236, 58%, 58%)  Slate Blue
#54d2ca  rgb(84, 210, 202)  hsl(176, 58%, 58%)  Medium Turquoise
#ca54d2  rgb(202, 84, 210)  hsl(296, 58%, 58%)  Medium Orchid