#DFD40D

#dfd40d ≈ Citrine

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

#dfd40d 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 5.1% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 94.17% yellow and 12.55% black. Its hue angle is 56.86°, with 88.98% saturation and 46.27% 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.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #dfd40d 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.628

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

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d6d1a5 ≈ 0.001% of males
Protanopia #e8cc00 ≈ 1.01% of males
Deuteranopia #ecd32a ≈ 1.27% of males
Tritanopia #f0c5b5 ≈ 0.0001% of males
Protanomaly #e4cf00 ≈ 1.08% of males
Deuteranomaly #e7d322 ≈ 4.63% of males
Tritanomaly #eacb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dfd40d  rgb(223, 212, 13)  hsl(57, 89%, 46%)  Citrine
#0d18df  rgb(13, 24, 223)  hsl(237, 89%, 46%)  Blue
#0ddfd4  rgb(13, 223, 212)  hsl(177, 89%, 46%)  Turquoise
#d40ddf  rgb(212, 13, 223)  hsl(297, 89%, 46%)  Electric Purple