#CBB812

#cbb812 ≈ Old Gold

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

#cbb812 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 72.16% green and 7.06% blue; printed in CMYK it uses 0% cyan, 9.36% magenta, 91.13% yellow and 20.39% black. Its hue angle is 53.84°, with 83.71% saturation and 43.33% 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.4:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #cbb812 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.4702

Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b6b6b6 ≈ 0.003% of males
Achromatomaly #bfb791 ≈ 0.001% of males
Protanopia #cbb200 ≈ 1.01% of males
Deuteranopia #d0ba26 ≈ 1.27% of males
Tritanopia #dbaa9d ≈ 0.0001% of males
Protanomaly #cbb500 ≈ 1.08% of males
Deuteranomaly #ceb91f ≈ 4.63% of males
Tritanomaly #d5b07d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbb812 {
  color: #cbb812;
}
Background
.bg-cbb812 {
  background-color: #cbb812;
  color: #000000;
}
Border
.border-cbb812 {
  border: 2px solid #cbb812;
}
CSS variables
:root {
  --color-primary: #cbb812;
  --color-primary-rgb: 203 184 18;
  --color-primary-hsl: 54 84% 43%;
}
Gradient
.gradient-cbb812 {
  background: linear-gradient(135deg, #cbb812, #81cb12);
}
Colored shadow
.shadow-cbb812 {
  box-shadow: 0 8px 24px rgb(203 184 18 / 0.35);
}

Old Gold
#cbb812  rgb(203, 184, 18)  hsl(54, 84%, 43%)  Old Gold
#1225cb  rgb(18, 37, 203)  hsl(234, 84%, 43%)  Medium Blue
#12cbb8  rgb(18, 203, 184)  hsl(174, 84%, 43%)  Turquoise
#b812cb  rgb(184, 18, 203)  hsl(294, 84%, 43%)  Dark Orchid