#DFD41F

#dfd41f ≈ Citrine

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

#dfd41f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 83.14% green and 12.16% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 86.1% yellow and 12.55% black. Its hue angle is 56.56°, with 75.59% saturation and 49.8% 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 13.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #dfd41f 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.6287

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d6d1a6 ≈ 0.001% of males
Protanopia #e7cc00 ≈ 1.01% of males
Deuteranopia #ebd333 ≈ 1.27% of males
Tritanopia #f0c5b5 ≈ 0.0001% of males
Protanomaly #e4cf00 ≈ 1.08% of males
Deuteranomaly #e7d32c ≈ 4.63% of males
Tritanomaly #eacb91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd41f {
  color: #dfd41f;
}
Background
.bg-dfd41f {
  background-color: #dfd41f;
  color: #000000;
}
Border
.border-dfd41f {
  border: 2px solid #dfd41f;
}
CSS variables
:root {
  --color-primary: #dfd41f;
  --color-primary-rgb: 223 212 31;
  --color-primary-hsl: 57 76% 50%;
}
Gradient
.gradient-dfd41f {
  background: linear-gradient(135deg, #dfd41f, #8adf1f);
}
Colored shadow
.shadow-dfd41f {
  box-shadow: 0 8px 24px rgb(223 212 31 / 0.35);
}

Citrine
#dfd41f  rgb(223, 212, 31)  hsl(57, 76%, 50%)  Citrine
#1f2adf  rgb(31, 42, 223)  hsl(237, 76%, 50%)  Blue
#1fdfd4  rgb(31, 223, 212)  hsl(177, 76%, 50%)  Turquoise
#d41fdf  rgb(212, 31, 223)  hsl(297, 76%, 50%)  Medium Orchid