#CFC307

#cfc307 ≈ Citrine

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

#cfc307 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 76.47% green and 2.75% blue; printed in CMYK it uses 0% cyan, 5.8% magenta, 96.62% yellow and 18.82% black. Its hue angle is 56.4°, with 93.46% saturation and 41.96% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.09.

Description generated from the measured properties of this color.

Conversions of #cfc307 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.5231

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c6c198 ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #dac225 ≈ 1.27% of males
Tritanopia #dfb5a6 ≈ 0.0001% of males
Protanomaly #d3bf00 ≈ 1.08% of males
Deuteranomaly #d5c31c ≈ 4.63% of males
Tritanomaly #d9ba84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfc307 {
  color: #cfc307;
}
Background
.bg-cfc307 {
  background-color: #cfc307;
  color: #000000;
}
Border
.border-cfc307 {
  border: 2px solid #cfc307;
}
CSS variables
:root {
  --color-primary: #cfc307;
  --color-primary-rgb: 207 195 7;
  --color-primary-hsl: 56 93% 42%;
}
Gradient
.gradient-cfc307 {
  background: linear-gradient(135deg, #cfc307, #77cf07);
}
Colored shadow
.shadow-cfc307 {
  box-shadow: 0 8px 24px rgb(207 195 7 / 0.35);
}

Citrine
#cfc307  rgb(207, 195, 7)  hsl(56, 93%, 42%)  Citrine
#0713cf  rgb(7, 19, 207)  hsl(236, 93%, 42%)  Medium Blue
#07cfc3  rgb(7, 207, 195)  hsl(176, 93%, 42%)  Medium Turquoise
#c307cf  rgb(195, 7, 207)  hsl(296, 93%, 42%)  Electric Purple