#CFCD2A

#cfcd2a ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#cfcd2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 80.39% green and 16.47% blue; printed in CMYK it uses 0% cyan, 0.97% magenta, 79.71% yellow and 18.82% black. Its hue angle is 59.27°, with 66.27% saturation and 48.82% 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 brand accents. Black text on this color reaches a contrast ratio of 12.42:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.98.

Description generated from the measured properties of this color.

Conversions of #cfcd2a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.571

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cac9a0 ≈ 0.001% of males
Protanopia #dec400 ≈ 1.01% of males
Deuteranopia #e1c939 ≈ 1.27% of males
Tritanopia #debfb0 ≈ 0.0001% of males
Protanomaly #d8c80f ≈ 1.08% of males
Deuteranomaly #dacb34 ≈ 4.63% of males
Tritanomaly #d8c58e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfcd2a {
  color: #cfcd2a;
}
Background
.bg-cfcd2a {
  background-color: #cfcd2a;
  color: #000000;
}
Border
.border-cfcd2a {
  border: 2px solid #cfcd2a;
}
CSS variables
:root {
  --color-primary: #cfcd2a;
  --color-primary-rgb: 207 205 42;
  --color-primary-hsl: 59 66% 49%;
}
Gradient
.gradient-cfcd2a {
  background: linear-gradient(135deg, #cfcd2a, #7ecf2a);
}
Colored shadow
.shadow-cfcd2a {
  box-shadow: 0 8px 24px rgb(207 205 42 / 0.35);
}

Citrine
#cfcd2a  rgb(207, 205, 42)  hsl(59, 66%, 49%)  Citrine
#2a2ccf  rgb(42, 44, 207)  hsl(239, 66%, 49%)  Persian Blue
#2acfcd  rgb(42, 207, 205)  hsl(179, 66%, 49%)  Robin Egg Blue
#cd2acf  rgb(205, 42, 207)  hsl(299, 66%, 49%)  Medium Orchid