#CFC604

#cfc604 ≈ Citrine

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

#cfc604 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 77.65% green and 1.57% blue; printed in CMYK it uses 0% cyan, 4.35% magenta, 98.07% yellow and 18.82% black. Its hue angle is 57.34°, with 96.21% saturation and 41.37% 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.73:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #cfc604 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.5366

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c7c39a ≈ 0.001% of males
Protanopia #d8be00 ≈ 1.01% of males
Deuteranopia #dcc424 ≈ 1.27% of males
Tritanopia #dfb8a8 ≈ 0.0001% of males
Protanomaly #d5c100 ≈ 1.08% of males
Deuteranomaly #d7c51c ≈ 4.63% of males
Tritanomaly #d9be86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cfc604  rgb(207, 198, 4)  hsl(57, 96%, 41%)  Citrine
#040dcf  rgb(4, 13, 207)  hsl(237, 96%, 41%)  Medium Blue
#04cfc6  rgb(4, 207, 198)  hsl(177, 96%, 41%)  Medium Turquoise
#c604cf  rgb(198, 4, 207)  hsl(297, 96%, 41%)  Electric Purple