#CBB40B

#cbb40b ≈ Old Gold

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

#cbb40b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 70.59% green and 4.31% blue; printed in CMYK it uses 0% cyan, 11.33% magenta, 94.58% yellow and 20.39% black. Its hue angle is 52.81°, with 89.72% saturation and 41.96% 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.07:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #cbb40b 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.4536

Readable text 2.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #bdb48f ≈ 0.001% of males
Protanopia #c7af00 ≈ 1.01% of males
Deuteranopia #cdb722 ≈ 1.27% of males
Tritanopia #dca599 ≈ 0.0001% of males
Protanomaly #c9b100 ≈ 1.08% of males
Deuteranomaly #ccb61b ≈ 4.63% of males
Tritanomaly #d5ab7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbb40b {
  color: #cbb40b;
}
Background
.bg-cbb40b {
  background-color: #cbb40b;
  color: #000000;
}
Border
.border-cbb40b {
  border: 2px solid #cbb40b;
}
CSS variables
:root {
  --color-primary: #cbb40b;
  --color-primary-rgb: 203 180 11;
  --color-primary-hsl: 53 90% 42%;
}
Gradient
.gradient-cbb40b {
  background: linear-gradient(135deg, #cbb40b, #82cb0b);
}
Colored shadow
.shadow-cbb40b {
  box-shadow: 0 8px 24px rgb(203 180 11 / 0.35);
}

Old Gold
#cbb40b  rgb(203, 180, 11)  hsl(53, 90%, 42%)  Old Gold
#0b22cb  rgb(11, 34, 203)  hsl(233, 90%, 42%)  Medium Blue
#0bcbb4  rgb(11, 203, 180)  hsl(173, 90%, 42%)  Turquoise
#b40bcb  rgb(180, 11, 203)  hsl(293, 90%, 42%)  Dark Orchid