#D2B706

#d2b706 ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d2b706 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 71.76% green and 2.35% blue; printed in CMYK it uses 0% cyan, 12.86% magenta, 97.14% yellow and 17.65% black. Its hue angle is 52.06°, with 94.44% saturation and 42.35% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 10.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.32.

Description generated from the measured properties of this color.

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

Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b7b7b7 ≈ 0.003% of males
Achromatomaly #c3b792 ≈ 0.001% of males
Protanopia #cbb200 ≈ 1.01% of males
Deuteranopia #d2bb20 ≈ 1.27% of males
Tritanopia #e4a89c ≈ 0.0001% of males
Protanomaly #ceb400 ≈ 1.08% of males
Deuteranomaly #d2ba18 ≈ 4.63% of males
Tritanomaly #ddae7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2b706 {
  color: #d2b706;
}
Background
.bg-d2b706 {
  background-color: #d2b706;
  color: #000000;
}
Border
.border-d2b706 {
  border: 2px solid #d2b706;
}
CSS variables
:root {
  --color-primary: #d2b706;
  --color-primary-rgb: 210 183 6;
  --color-primary-hsl: 52 94% 42%;
}
Gradient
.gradient-d2b706 {
  background: linear-gradient(135deg, #d2b706, #87d206);
}
Colored shadow
.shadow-d2b706 {
  box-shadow: 0 8px 24px rgb(210 183 6 / 0.35);
}

Old Gold
#d2b706  rgb(210, 183, 6)  hsl(52, 94%, 42%)  Old Gold
#0621d2  rgb(6, 33, 210)  hsl(232, 94%, 42%)  Medium Blue
#06d2b7  rgb(6, 210, 183)  hsl(172, 94%, 42%)  Turquoise
#b706d2  rgb(183, 6, 210)  hsl(292, 94%, 42%)  Dark Orchid