#CBC304

#cbc304 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #cbc304 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.5174

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c4c097 ≈ 0.001% of males
Protanopia #d5bb00 ≈ 1.01% of males
Deuteranopia #d8c124 ≈ 1.27% of males
Tritanopia #dbb5a6 ≈ 0.0001% of males
Protanomaly #d1be00 ≈ 1.08% of males
Deuteranomaly #d3c21b ≈ 4.63% of males
Tritanomaly #d5bb83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cbc304  rgb(203, 195, 4)  hsl(58, 96%, 41%)  Citrine
#040ccb  rgb(4, 12, 203)  hsl(238, 96%, 41%)  Medium Blue
#04cbc3  rgb(4, 203, 195)  hsl(178, 96%, 41%)  Robin Egg Blue
#c304cb  rgb(195, 4, 203)  hsl(298, 96%, 41%)  Dark Orchid