#D8CB4A

#d8cb4a ≈ Straw

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

#d8cb4a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 79.61% green and 29.02% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 65.74% yellow and 15.29% black. Its hue angle is 54.51°, with 64.55% saturation and 56.86% 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.56:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.47.

Description generated from the measured properties of this color.

Conversions of #d8cb4a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5781

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

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cfc9a5 ≈ 0.001% of males
Protanopia #dcc439 ≈ 1.01% of males
Deuteranopia #e1cb52 ≈ 1.27% of males
Tritanopia #e8beb1 ≈ 0.0001% of males
Protanomaly #dbc740 ≈ 1.08% of males
Deuteranomaly #ddcb4f ≈ 4.63% of males
Tritanomaly #e2c392 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8cb4a {
  color: #d8cb4a;
}
Background
.bg-d8cb4a {
  background-color: #d8cb4a;
  color: #000000;
}
Border
.border-d8cb4a {
  border: 2px solid #d8cb4a;
}
CSS variables
:root {
  --color-primary: #d8cb4a;
  --color-primary-rgb: 216 203 74;
  --color-primary-hsl: 55 65% 57%;
}
Gradient
.gradient-d8cb4a {
  background: linear-gradient(135deg, #d8cb4a, #9ed84a);
}
Colored shadow
.shadow-d8cb4a {
  box-shadow: 0 8px 24px rgb(216 203 74 / 0.35);
}

Straw
#d8cb4a  rgb(216, 203, 74)  hsl(55, 65%, 57%)  Straw
#4a57d8  rgb(74, 87, 216)  hsl(235, 65%, 57%)  Iris
#4ad8cb  rgb(74, 216, 203)  hsl(175, 65%, 57%)  Turquoise
#cb4ad8  rgb(203, 74, 216)  hsl(295, 65%, 57%)  Medium Orchid