#DFD40A

#dfd40a ≈ Citrine

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

#dfd40a 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 3.92% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 95.52% yellow and 12.55% black. Its hue angle is 56.9°, with 91.42% saturation and 45.69% 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 #dfd40a 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 #ecd329 ≈ 1.27% of males
Tritanopia #f0c5b5 ≈ 0.0001% of males
Protanomaly #e4cf00 ≈ 1.08% of males
Deuteranomaly #e7d320 ≈ 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-dfd40a {
  color: #dfd40a;
}
Background
.bg-dfd40a {
  background-color: #dfd40a;
  color: #000000;
}
Border
.border-dfd40a {
  border: 2px solid #dfd40a;
}
CSS variables
:root {
  --color-primary: #dfd40a;
  --color-primary-rgb: 223 212 10;
  --color-primary-hsl: 57 91% 46%;
}
Gradient
.gradient-dfd40a {
  background: linear-gradient(135deg, #dfd40a, #80df0a);
}
Colored shadow
.shadow-dfd40a {
  box-shadow: 0 8px 24px rgb(223 212 10 / 0.35);
}

Citrine
#dfd40a  rgb(223, 212, 10)  hsl(57, 91%, 46%)  Citrine
#0a15df  rgb(10, 21, 223)  hsl(237, 91%, 46%)  Medium Blue
#0adfd4  rgb(10, 223, 212)  hsl(177, 91%, 46%)  Bright Turquoise
#d40adf  rgb(212, 10, 223)  hsl(297, 91%, 46%)  Electric Purple