#D0BC02

#d0bc02 ≈ Old Gold

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

#d0bc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 73.73% green and 0.78% blue; printed in CMYK it uses 0% cyan, 9.62% magenta, 99.04% yellow and 18.43% black. Its hue angle is 54.17°, with 98.1% saturation and 41.18% 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.88:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.32.

Description generated from the measured properties of this color.

Conversions of #d0bc02 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.4938

Readable text 1.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c3bb94 ≈ 0.001% of males
Protanopia #cfb600 ≈ 1.01% of males
Deuteranopia #d5be20 ≈ 1.27% of males
Tritanopia #e1ada0 ≈ 0.0001% of males
Protanomaly #d0b800 ≈ 1.08% of males
Deuteranomaly #d3bd18 ≈ 4.63% of males
Tritanomaly #dab37f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0bc02 {
  color: #d0bc02;
}
Background
.bg-d0bc02 {
  background-color: #d0bc02;
  color: #000000;
}
Border
.border-d0bc02 {
  border: 2px solid #d0bc02;
}
CSS variables
:root {
  --color-primary: #d0bc02;
  --color-primary-rgb: 208 188 2;
  --color-primary-hsl: 54 98% 41%;
}
Gradient
.gradient-d0bc02 {
  background: linear-gradient(135deg, #d0bc02, #7dd002);
}
Colored shadow
.shadow-d0bc02 {
  box-shadow: 0 8px 24px rgb(208 188 2 / 0.35);
}

Old Gold
#d0bc02  rgb(208, 188, 2)  hsl(54, 98%, 41%)  Old Gold
#0216d0  rgb(2, 22, 208)  hsl(234, 98%, 41%)  Medium Blue
#02d0bc  rgb(2, 208, 188)  hsl(174, 98%, 41%)  Turquoise
#bc02d0  rgb(188, 2, 208)  hsl(294, 98%, 41%)  Dark Orchid