#CFC021

#cfc021 ≈ Citrine

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

#cfc021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.25% magenta, 84.06% yellow and 18.82% black. Its hue angle is 54.83°, with 72.5% saturation and 47.06% 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 11.21:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #cfc021 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.5107

Readable text 1.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c5be98 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d7c030 ≈ 1.27% of males
Tritanopia #dfb2a4 ≈ 0.0001% of males
Protanomaly #d1bc00 ≈ 1.08% of males
Deuteranomaly #d4c02b ≈ 4.63% of males
Tritanomaly #d9b884 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfc021 {
  color: #cfc021;
}
Background
.bg-cfc021 {
  background-color: #cfc021;
  color: #000000;
}
Border
.border-cfc021 {
  border: 2px solid #cfc021;
}
CSS variables
:root {
  --color-primary: #cfc021;
  --color-primary-rgb: 207 192 33;
  --color-primary-hsl: 55 73% 47%;
}
Gradient
.gradient-cfc021 {
  background: linear-gradient(135deg, #cfc021, #87cf21);
}
Colored shadow
.shadow-cfc021 {
  box-shadow: 0 8px 24px rgb(207 192 33 / 0.35);
}

Citrine
#cfc021  rgb(207, 192, 33)  hsl(55, 73%, 47%)  Citrine
#2130cf  rgb(33, 48, 207)  hsl(235, 73%, 47%)  Persian Blue
#21cfc0  rgb(33, 207, 192)  hsl(175, 73%, 47%)  Medium Turquoise
#c021cf  rgb(192, 33, 207)  hsl(295, 73%, 47%)  Electric Purple