#DFD301

#dfd301 ≈ Citrine

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

#dfd301 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 82.75% green and 0.39% blue; printed in CMYK it uses 0% cyan, 5.38% magenta, 99.55% yellow and 12.55% black. Its hue angle is 56.76°, with 99.11% saturation and 43.92% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #dfd301 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.6228

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d5d1a5 ≈ 0.001% of males
Protanopia #e7cb00 ≈ 1.01% of males
Deuteranopia #ebd226 ≈ 1.27% of males
Tritanopia #f1c3b4 ≈ 0.0001% of males
Protanomaly #e4ce00 ≈ 1.08% of males
Deuteranomaly #e6d21c ≈ 4.63% of males
Tritanomaly #eaca8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd301 {
  color: #dfd301;
}
Background
.bg-dfd301 {
  background-color: #dfd301;
  color: #000000;
}
Border
.border-dfd301 {
  border: 2px solid #dfd301;
}
CSS variables
:root {
  --color-primary: #dfd301;
  --color-primary-rgb: 223 211 1;
  --color-primary-hsl: 57 99% 44%;
}
Gradient
.gradient-dfd301 {
  background: linear-gradient(135deg, #dfd301, #7cdf01);
}
Colored shadow
.shadow-dfd301 {
  box-shadow: 0 8px 24px rgb(223 211 1 / 0.35);
}

Citrine
#dfd301  rgb(223, 211, 1)  hsl(57, 99%, 44%)  Citrine
#010ddf  rgb(1, 13, 223)  hsl(237, 99%, 44%)  Medium Blue
#01dfd3  rgb(1, 223, 211)  hsl(177, 99%, 44%)  Turquoise
#d301df  rgb(211, 1, 223)  hsl(297, 99%, 44%)  Electric Purple