#DFD42A

#dfd42a ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dfd42a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 83.14% green and 16.47% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 81.17% yellow and 12.55% black. Its hue angle is 56.35°, with 73.88% saturation and 51.96% 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.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #dfd42a 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.6294

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

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d6d1a7 ≈ 0.001% of males
Protanopia #e7cc00 ≈ 1.01% of males
Deuteranopia #ebd33a ≈ 1.27% of males
Tritanopia #f0c5b6 ≈ 0.0001% of males
Protanomaly #e4cf0a ≈ 1.08% of males
Deuteranomaly #e6d334 ≈ 4.63% of males
Tritanomaly #e9cb92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd42a {
  color: #dfd42a;
}
Background
.bg-dfd42a {
  background-color: #dfd42a;
  color: #000000;
}
Border
.border-dfd42a {
  border: 2px solid #dfd42a;
}
CSS variables
:root {
  --color-primary: #dfd42a;
  --color-primary-rgb: 223 212 42;
  --color-primary-hsl: 56 74% 52%;
}
Gradient
.gradient-dfd42a {
  background: linear-gradient(135deg, #dfd42a, #90df2a);
}
Colored shadow
.shadow-dfd42a {
  box-shadow: 0 8px 24px rgb(223 212 42 / 0.35);
}

Citrine
#dfd42a  rgb(223, 212, 42)  hsl(56, 74%, 52%)  Citrine
#2a35df  rgb(42, 53, 223)  hsl(236, 74%, 52%)  Persian Blue
#2adfd4  rgb(42, 223, 212)  hsl(176, 74%, 52%)  Turquoise
#d42adf  rgb(212, 42, 223)  hsl(296, 74%, 52%)  Medium Orchid