#C8BF1F

#c8bf1f ≈ Old Gold

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

#c8bf1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 74.9% green and 12.16% blue; printed in CMYK it uses 0% cyan, 4.5% magenta, 84.5% yellow and 21.57% black. Its hue angle is 56.8°, with 73.16% saturation and 45.29% 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.93:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.6.

Description generated from the measured properties of this color.

Conversions of #c8bf1f 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.4964

Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bbbbbb ≈ 0.003% of males
Achromatomaly #c0bd96 ≈ 0.001% of males
Protanopia #d0b800 ≈ 1.01% of males
Deuteranopia #d4be2f ≈ 1.27% of males
Tritanopia #d7b1a3 ≈ 0.0001% of males
Protanomaly #cdbb00 ≈ 1.08% of males
Deuteranomaly #cfbe2a ≈ 4.63% of males
Tritanomaly #d1b783 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8bf1f {
  color: #c8bf1f;
}
Background
.bg-c8bf1f {
  background-color: #c8bf1f;
  color: #000000;
}
Border
.border-c8bf1f {
  border: 2px solid #c8bf1f;
}
CSS variables
:root {
  --color-primary: #c8bf1f;
  --color-primary-rgb: 200 191 31;
  --color-primary-hsl: 57 73% 45%;
}
Gradient
.gradient-c8bf1f {
  background: linear-gradient(135deg, #c8bf1f, #7dc81f);
}
Colored shadow
.shadow-c8bf1f {
  box-shadow: 0 8px 24px rgb(200 191 31 / 0.35);
}

Old Gold
#c8bf1f  rgb(200, 191, 31)  hsl(57, 73%, 45%)  Old Gold
#1f28c8  rgb(31, 40, 200)  hsl(237, 73%, 45%)  Persian Blue
#1fc8bf  rgb(31, 200, 191)  hsl(177, 73%, 45%)  Robin Egg Blue
#bf1fc8  rgb(191, 31, 200)  hsl(297, 73%, 45%)  Dark Orchid