#D7BF2F

#d7bf2f ≈ Old Gold

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

#d7bf2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 74.9% green and 18.43% blue; printed in CMYK it uses 0% cyan, 11.16% magenta, 78.14% yellow and 15.69% black. Its hue angle is 51.43°, with 67.74% saturation and 51.37% 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 11.38:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.23.

Description generated from the measured properties of this color.

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

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c9bf9a ≈ 0.001% of males
Protanopia #d2ba07 ≈ 1.01% of males
Deuteranopia #d9c23a ≈ 1.27% of males
Tritanopia #e8b0a4 ≈ 0.0001% of males
Protanomaly #d4bc1e ≈ 1.08% of males
Deuteranomaly #d8c136 ≈ 4.63% of males
Tritanomaly #e1b685 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7bf2f {
  color: #d7bf2f;
}
Background
.bg-d7bf2f {
  background-color: #d7bf2f;
  color: #000000;
}
Border
.border-d7bf2f {
  border: 2px solid #d7bf2f;
}
CSS variables
:root {
  --color-primary: #d7bf2f;
  --color-primary-rgb: 215 191 47;
  --color-primary-hsl: 51 68% 51%;
}
Gradient
.gradient-d7bf2f {
  background: linear-gradient(135deg, #d7bf2f, #9bd72f);
}
Colored shadow
.shadow-d7bf2f {
  box-shadow: 0 8px 24px rgb(215 191 47 / 0.35);
}

Old Gold
#d7bf2f  rgb(215, 191, 47)  hsl(51, 68%, 51%)  Old Gold
#2f47d7  rgb(47, 71, 215)  hsl(231, 68%, 51%)  Iris
#2fd7bf  rgb(47, 215, 191)  hsl(171, 68%, 51%)  Turquoise
#bf2fd7  rgb(191, 47, 215)  hsl(291, 68%, 51%)  Electric Purple