#C7C021

#c7c021 ≈ Citrine

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

#c7c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 3.52% magenta, 83.42% yellow and 21.96% black. Its hue angle is 57.47°, 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.99:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.91.

Description generated from the measured properties of this color.

Conversions of #c7c021 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.4995

Readable text 1.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bbbbbb ≈ 0.003% of males
Achromatomaly #c0bd96 ≈ 0.001% of males
Protanopia #d1b800 ≈ 1.01% of males
Deuteranopia #d4be31 ≈ 1.27% of males
Tritanopia #d6b3a4 ≈ 0.0001% of males
Protanomaly #cdbb00 ≈ 1.08% of males
Deuteranomaly #cfbf2b ≈ 4.63% of males
Tritanomaly #d0b884 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#c7c021  rgb(199, 192, 33)  hsl(57, 72%, 45%)  Citrine
#2128c7  rgb(33, 40, 199)  hsl(237, 72%, 45%)  Persian Blue
#21c7c0  rgb(33, 199, 192)  hsl(177, 72%, 45%)  Robin Egg Blue
#c021c7  rgb(192, 33, 199)  hsl(297, 72%, 45%)  Dark Orchid