#DCB02F

#dcb02f ≈ Metallic Gold

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dcb02f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 69.02% green and 18.43% blue; printed in CMYK it uses 0% cyan, 20% magenta, 78.64% yellow and 13.73% black. Its hue angle is 44.74°, with 71.19% saturation and 52.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 brand accents. Black text on this color reaches a contrast ratio of 10.29:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.02.

Description generated from the measured properties of this color.

Conversions of #dcb02f 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.4647

Readable text 2.04:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b5b5b5 ≈ 0.003% of males
Achromatomaly #c6b393 ≈ 0.001% of males
Protanopia #c5af12 ≈ 1.01% of males
Deuteranopia #d0ba37 ≈ 1.27% of males
Tritanopia #efa098 ≈ 0.0001% of males
Protanomaly #cfaf21 ≈ 1.08% of males
Deuteranomaly #d5b634 ≈ 4.63% of males
Tritanomaly #e7a77b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcb02f {
  color: #dcb02f;
}
Background
.bg-dcb02f {
  background-color: #dcb02f;
  color: #000000;
}
Border
.border-dcb02f {
  border: 2px solid #dcb02f;
}
CSS variables
:root {
  --color-primary: #dcb02f;
  --color-primary-rgb: 220 176 47;
  --color-primary-hsl: 45 71% 52%;
}
Gradient
.gradient-dcb02f {
  background: linear-gradient(135deg, #dcb02f, #b1dc2f);
}
Colored shadow
.shadow-dcb02f {
  box-shadow: 0 8px 24px rgb(220 176 47 / 0.35);
}

Metallic Gold
#dcb02f  rgb(220, 176, 47)  hsl(45, 71%, 52%)  Metallic Gold
#2f5bdc  rgb(47, 91, 220)  hsl(225, 71%, 52%)  Royal Blue
#2fdcb0  rgb(47, 220, 176)  hsl(165, 71%, 52%)  Caribbean Green
#b02fdc  rgb(176, 47, 220)  hsl(285, 71%, 52%)  Dark Orchid