#CCBF04

#ccbf04 ≈ Citrine

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

#ccbf04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 74.9% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.37% magenta, 98.04% yellow and 20% black. Its hue angle is 56.1°, with 96.15% saturation and 40.78% 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.02:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.9.

Description generated from the measured properties of this color.

Conversions of #ccbf04 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.5011

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

Achromatopsia #bcbcbc ≈ 0.003% of males
Achromatomaly #c2bd95 ≈ 0.001% of males
Protanopia #d1b800 ≈ 1.01% of males
Deuteranopia #d6bf23 ≈ 1.27% of males
Tritanopia #dcb1a2 ≈ 0.0001% of males
Protanomaly #cfbb00 ≈ 1.08% of males
Deuteranomaly #d2bf1a ≈ 4.63% of males
Tritanomaly #d6b781 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccbf04 {
  color: #ccbf04;
}
Background
.bg-ccbf04 {
  background-color: #ccbf04;
  color: #000000;
}
Border
.border-ccbf04 {
  border: 2px solid #ccbf04;
}
CSS variables
:root {
  --color-primary: #ccbf04;
  --color-primary-rgb: 204 191 4;
  --color-primary-hsl: 56 96% 41%;
}
Gradient
.gradient-ccbf04 {
  background: linear-gradient(135deg, #ccbf04, #75cc04);
}
Colored shadow
.shadow-ccbf04 {
  box-shadow: 0 8px 24px rgb(204 191 4 / 0.35);
}

Citrine
#ccbf04  rgb(204, 191, 4)  hsl(56, 96%, 41%)  Citrine
#0411cc  rgb(4, 17, 204)  hsl(236, 96%, 41%)  Medium Blue
#04ccbf  rgb(4, 204, 191)  hsl(176, 96%, 41%)  Medium Turquoise
#bf04cc  rgb(191, 4, 204)  hsl(296, 96%, 41%)  Dark Orchid