#C7BE21

#c7be21 ≈ Old Gold

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

#c7be21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 74.51% green and 12.94% blue; printed in CMYK it uses 0% cyan, 4.52% magenta, 83.42% yellow and 21.96% black. Its hue angle is 56.75°, with 71.55% saturation and 45.49% 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.82:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.45.

Description generated from the measured properties of this color.

Conversions of #c7be21 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.4908

Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #bfbc95 ≈ 0.001% of males
Protanopia #cfb700 ≈ 1.01% of males
Deuteranopia #d3bd30 ≈ 1.27% of males
Tritanopia #d6b0a2 ≈ 0.0001% of males
Protanomaly #ccba00 ≈ 1.08% of males
Deuteranomaly #cebd2b ≈ 4.63% of males
Tritanomaly #d0b682 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c7be21 {
  color: #c7be21;
}
Background
.bg-c7be21 {
  background-color: #c7be21;
  color: #000000;
}
Border
.border-c7be21 {
  border: 2px solid #c7be21;
}
CSS variables
:root {
  --color-primary: #c7be21;
  --color-primary-rgb: 199 190 33;
  --color-primary-hsl: 57 72% 45%;
}
Gradient
.gradient-c7be21 {
  background: linear-gradient(135deg, #c7be21, #7dc721);
}
Colored shadow
.shadow-c7be21 {
  box-shadow: 0 8px 24px rgb(199 190 33 / 0.35);
}

Old Gold
#c7be21  rgb(199, 190, 33)  hsl(57, 72%, 45%)  Old Gold
#212ac7  rgb(33, 42, 199)  hsl(237, 72%, 45%)  Persian Blue
#21c7be  rgb(33, 199, 190)  hsl(177, 72%, 45%)  Robin Egg Blue
#be21c7  rgb(190, 33, 199)  hsl(297, 72%, 45%)  Dark Orchid