#B8A172 — Yellow

#B8A172 is a yellow in the Yellow family. In practice it looks like a soft, dusty medium yellow, and it is also commonly known as Yellow, Golden Yellow. Below are all of its color space values, an 11-step scale, harmony palettes and accessibility data.

#B8A172 color swatch, yellow#B8A172
CSS Namedarkkhaki (closest)

Tints and shades (50–950)

50#f7f5f2
100#ede9e2
200#e0d8c9
300#ccbfa3
400#b4a077
500#a08857
600#8d7647
700#766236
800#63512b
900#544423
950#322812

Accessibility

Contrast on white
2.51:1
Contrast on black
8.38:1
  • AA (4.5:1) on whiteFail
  • AA Large (3:1) on whiteFail
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whiteFail
  • UI components (3:1) on whiteFail

Need a passing variant? Repair this color in the contrast checker.

Complementary palette

Analogous palette

Triadic palette

Copy-ready CSS

brand-scale.css
:root {
  --brand-50: oklch(0.971 0.005 84.7); /* #f7f5f2 */
  --brand-100: oklch(0.936 0.011 84.7); /* #ede9e2 */
  --brand-200: oklch(0.885 0.022 84.7); /* #e0d8c9 */
  --brand-300: oklch(0.808 0.04 84.7); /* #ccbfa3 */
  --brand-400: oklch(0.712 0.06 84.7); /* #b4a077 */
  --brand-500: oklch(0.637 0.072 84.7); /* #a08857 */
  --brand-600: oklch(0.577 0.071 84.7); /* #8d7647 */
  --brand-700: oklch(0.505 0.066 84.7); /* #766236 */
  --brand-800: oklch(0.444 0.059 84.7); /* #63512b */
  --brand-900: oklch(0.396 0.053 84.7); /* #544423 */
  --brand-950: oklch(0.281 0.038 84.7); /* #322812 */
}

Explore other colors