#D8A040

#d8a040 ≈ Indian Yellow

  • orange
  • Lightness: medium
  • Saturation: strong
  • Warm

#d8a040 is a color from the orange family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 62.75% green and 25.1% blue; printed in CMYK it uses 0% cyan, 25.93% magenta, 70.37% yellow and 15.29% black. Its hue angle is 37.89°, with 66.09% saturation and 54.9% lightness in HSL. It is a warm color, often associated with enthusiasm, warmth and creativity. Designers typically use it for call-to-action buttons, food and restaurant brands and brand accents. Black text on this color reaches a contrast ratio of 9.02:1 (WCAG AAA). The closest named color is Indian Yellow (#e3a857), ΔE 3.79.

Description generated from the measured properties of this color.

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

Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #bea68c ≈ 0.001% of males
Protanopia #b5a234 ≈ 1.01% of males
Deuteranopia #c3af43 ≈ 1.27% of males
Tritanopia #ea908c ≈ 0.0001% of males
Protanomaly #c4a139 ≈ 1.08% of males
Deuteranomaly #cca942 ≈ 4.63% of males
Tritanomaly #e39775 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8a040 {
  color: #d8a040;
}
Background
.bg-d8a040 {
  background-color: #d8a040;
  color: #000000;
}
Border
.border-d8a040 {
  border: 2px solid #d8a040;
}
CSS variables
:root {
  --color-primary: #d8a040;
  --color-primary-rgb: 216 160 64;
  --color-primary-hsl: 38 66% 55%;
}
Gradient
.gradient-d8a040 {
  background: linear-gradient(135deg, #d8a040, #c4d840);
}
Colored shadow
.shadow-d8a040 {
  box-shadow: 0 8px 24px rgb(216 160 64 / 0.35);
}

Indian Yellow
#d8a040  rgb(216, 160, 64)  hsl(38, 66%, 55%)  Indian Yellow
#4078d8  rgb(64, 120, 216)  hsl(218, 66%, 55%)  Tufts Blue
#40d8a0  rgb(64, 216, 160)  hsl(158, 66%, 55%)  Caribbean Green
#a040d8  rgb(160, 64, 216)  hsl(278, 66%, 55%)  Dark Orchid