#DFD51F

#dfd51f ≈ Citrine

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

#dfd51f 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.53% green and 12.16% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 86.1% yellow and 12.55% black. Its hue angle is 56.88°, 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.68:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #dfd51f 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.6338

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d6d2a7 ≈ 0.001% of males
Protanopia #e8cd00 ≈ 1.01% of males
Deuteranopia #ecd333 ≈ 1.27% of males
Tritanopia #f0c6b6 ≈ 0.0001% of males
Protanomaly #e5d000 ≈ 1.08% of males
Deuteranomaly #e7d42c ≈ 4.63% of males
Tritanomaly #eacc92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dfd51f  rgb(223, 213, 31)  hsl(57, 76%, 50%)  Citrine
#1f29df  rgb(31, 41, 223)  hsl(237, 76%, 50%)  Blue
#1fdfd5  rgb(31, 223, 213)  hsl(177, 76%, 50%)  Bright Turquoise
#d51fdf  rgb(213, 31, 223)  hsl(297, 76%, 50%)  Medium Orchid