#D2B012

#d2b012 ≈ Metallic Gold

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

#d2b012 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 69.02% green and 7.06% blue; printed in CMYK it uses 0% cyan, 16.19% magenta, 91.43% yellow and 17.65% black. Its hue angle is 49.38°, with 84.21% saturation and 44.71% 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 9.96:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.91.

Description generated from the measured properties of this color.

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

Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b2b2b2 ≈ 0.003% of males
Achromatomaly #c0b28e ≈ 0.001% of males
Protanopia #c4ad00 ≈ 1.01% of males
Deuteranopia #cdb723 ≈ 1.27% of males
Tritanopia #e4a196 ≈ 0.0001% of males
Protanomaly #caae00 ≈ 1.08% of males
Deuteranomaly #cfb41d ≈ 4.63% of males
Tritanomaly #dda777 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2b012 {
  color: #d2b012;
}
Background
.bg-d2b012 {
  background-color: #d2b012;
  color: #000000;
}
Border
.border-d2b012 {
  border: 2px solid #d2b012;
}
CSS variables
:root {
  --color-primary: #d2b012;
  --color-primary-rgb: 210 176 18;
  --color-primary-hsl: 49 84% 45%;
}
Gradient
.gradient-d2b012 {
  background: linear-gradient(135deg, #d2b012, #94d212);
}
Colored shadow
.shadow-d2b012 {
  box-shadow: 0 8px 24px rgb(210 176 18 / 0.35);
}

Metallic Gold
#d2b012  rgb(210, 176, 18)  hsl(49, 84%, 45%)  Metallic Gold
#1234d2  rgb(18, 52, 210)  hsl(229, 84%, 45%)  Persian Blue
#12d2b0  rgb(18, 210, 176)  hsl(169, 84%, 45%)  Medium Aquamarine
#b012d2  rgb(176, 18, 210)  hsl(289, 84%, 45%)  Dark Orchid