#DFD311

#dfd311 ≈ Citrine

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

#dfd311 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 6.67% blue; printed in CMYK it uses 0% cyan, 5.38% magenta, 92.38% yellow and 12.55% black. Its hue angle is 56.5°, with 85.83% 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 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.96.

Description generated from the measured properties of this color.

Conversions of #dfd311 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.6232

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 #d6d1a5 ≈ 0.001% of males
Protanopia #e7cb00 ≈ 1.01% of males
Deuteranopia #ebd22c ≈ 1.27% of males
Tritanopia #f0c4b4 ≈ 0.0001% of males
Protanomaly #e4ce00 ≈ 1.08% of males
Deuteranomaly #e6d223 ≈ 4.63% of males
Tritanomaly #eaca8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd311 {
  color: #dfd311;
}
Background
.bg-dfd311 {
  background-color: #dfd311;
  color: #000000;
}
Border
.border-dfd311 {
  border: 2px solid #dfd311;
}
CSS variables
:root {
  --color-primary: #dfd311;
  --color-primary-rgb: 223 211 17;
  --color-primary-hsl: 57 86% 47%;
}
Gradient
.gradient-dfd311 {
  background: linear-gradient(135deg, #dfd311, #84df11);
}
Colored shadow
.shadow-dfd311 {
  box-shadow: 0 8px 24px rgb(223 211 17 / 0.35);
}

Citrine
#dfd311  rgb(223, 211, 17)  hsl(57, 86%, 47%)  Citrine
#111ddf  rgb(17, 29, 223)  hsl(237, 86%, 47%)  Blue
#11dfd3  rgb(17, 223, 211)  hsl(177, 86%, 47%)  Turquoise
#d311df  rgb(211, 17, 223)  hsl(297, 86%, 47%)  Electric Purple