#CBC004

#cbc004 ≈ Citrine

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

#cbc004 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 75.29% green and 1.57% blue; printed in CMYK it uses 0% cyan, 5.42% magenta, 98.03% yellow and 20.39% black. Its hue angle is 56.68°, with 96.14% saturation and 40.59% 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 11.08:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.93.

Description generated from the measured properties of this color.

Conversions of #cbc004 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.504

Readable text 1.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bcbcbc ≈ 0.003% of males
Achromatomaly #c2be96 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d6bf23 ≈ 1.27% of males
Tritanopia #dbb2a3 ≈ 0.0001% of males
Protanomaly #cfbc00 ≈ 1.08% of males
Deuteranomaly #d2bf1a ≈ 4.63% of males
Tritanomaly #d5b881 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbc004 {
  color: #cbc004;
}
Background
.bg-cbc004 {
  background-color: #cbc004;
  color: #000000;
}
Border
.border-cbc004 {
  border: 2px solid #cbc004;
}
CSS variables
:root {
  --color-primary: #cbc004;
  --color-primary-rgb: 203 192 4;
  --color-primary-hsl: 57 96% 41%;
}
Gradient
.gradient-cbc004 {
  background: linear-gradient(135deg, #cbc004, #73cb04);
}
Colored shadow
.shadow-cbc004 {
  box-shadow: 0 8px 24px rgb(203 192 4 / 0.35);
}

Citrine
#cbc004  rgb(203, 192, 4)  hsl(57, 96%, 41%)  Citrine
#040fcb  rgb(4, 15, 203)  hsl(237, 96%, 41%)  Medium Blue
#04cbc0  rgb(4, 203, 192)  hsl(177, 96%, 41%)  Medium Turquoise
#c004cb  rgb(192, 4, 203)  hsl(297, 96%, 41%)  Dark Orchid