#D2CB4D

#d2cb4d ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d2cb4d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 79.61% green and 30.2% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 63.33% yellow and 17.65% black. Its hue angle is 56.84°, with 59.64% saturation and 56.27% 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.39:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.49.

Description generated from the measured properties of this color.

Conversions of #d2cb4d 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.5695

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cbc8a4 ≈ 0.001% of males
Protanopia #dbc43d ≈ 1.01% of males
Deuteranopia #dec955 ≈ 1.27% of males
Tritanopia #e1beb1 ≈ 0.0001% of males
Protanomaly #d8c744 ≈ 1.08% of males
Deuteranomaly #daca52 ≈ 4.63% of males
Tritanomaly #dbc393 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2cb4d  rgb(210, 203, 77)  hsl(57, 60%, 56%)  Straw
#4d54d2  rgb(77, 84, 210)  hsl(237, 60%, 56%)  Iris
#4dd2cb  rgb(77, 210, 203)  hsl(177, 60%, 56%)  Medium Turquoise
#cb4dd2  rgb(203, 77, 210)  hsl(297, 60%, 56%)  Medium Orchid