#DFCF02

#dfcf02 ≈ Citrine

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

#dfcf02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 81.18% green and 0.78% blue; printed in CMYK it uses 0% cyan, 7.17% magenta, 99.1% yellow and 12.55% black. Its hue angle is 55.66°, with 98.22% saturation and 44.12% 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 13.06:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.03.

Description generated from the measured properties of this color.

Conversions of #dfcf02 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.6032

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d4cda2 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #e8cf25 ≈ 1.27% of males
Tritanopia #f1bfb0 ≈ 0.0001% of males
Protanomaly #e1cb00 ≈ 1.08% of males
Deuteranomaly #e5cf1c ≈ 4.63% of males
Tritanomaly #eac68c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfcf02 {
  color: #dfcf02;
}
Background
.bg-dfcf02 {
  background-color: #dfcf02;
  color: #000000;
}
Border
.border-dfcf02 {
  border: 2px solid #dfcf02;
}
CSS variables
:root {
  --color-primary: #dfcf02;
  --color-primary-rgb: 223 207 2;
  --color-primary-hsl: 56 98% 44%;
}
Gradient
.gradient-dfcf02 {
  background: linear-gradient(135deg, #dfcf02, #80df02);
}
Colored shadow
.shadow-dfcf02 {
  box-shadow: 0 8px 24px rgb(223 207 2 / 0.35);
}

Citrine
#dfcf02  rgb(223, 207, 2)  hsl(56, 98%, 44%)  Citrine
#0212df  rgb(2, 18, 223)  hsl(236, 98%, 44%)  Medium Blue
#02dfcf  rgb(2, 223, 207)  hsl(176, 98%, 44%)  Turquoise
#cf02df  rgb(207, 2, 223)  hsl(296, 98%, 44%)  Electric Purple