#DFC50F

#dfc50f ≈ Citrine

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

#dfc50f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 77.25% green and 5.88% blue; printed in CMYK it uses 0% cyan, 11.66% magenta, 93.27% yellow and 12.55% black. Its hue angle is 52.5°, with 87.39% saturation and 46.67% 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 12.13:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.95.

Description generated from the measured properties of this color.

Conversions of #dfc50f 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.5565

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #d0c59d ≈ 0.001% of males
Protanopia #dabf00 ≈ 1.01% of males
Deuteranopia #e1c927 ≈ 1.27% of males
Tritanopia #f1b5a8 ≈ 0.0001% of males
Protanomaly #dcc200 ≈ 1.08% of males
Deuteranomaly #e0c71f ≈ 4.63% of males
Tritanomaly #eabc86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfc50f {
  color: #dfc50f;
}
Background
.bg-dfc50f {
  background-color: #dfc50f;
  color: #000000;
}
Border
.border-dfc50f {
  border: 2px solid #dfc50f;
}
CSS variables
:root {
  --color-primary: #dfc50f;
  --color-primary-rgb: 223 197 15;
  --color-primary-hsl: 53 87% 47%;
}
Gradient
.gradient-dfc50f {
  background: linear-gradient(135deg, #dfc50f, #91df0f);
}
Colored shadow
.shadow-dfc50f {
  box-shadow: 0 8px 24px rgb(223 197 15 / 0.35);
}

Citrine
#dfc50f  rgb(223, 197, 15)  hsl(53, 87%, 47%)  Citrine
#0f29df  rgb(15, 41, 223)  hsl(233, 87%, 47%)  Blue
#0fdfc5  rgb(15, 223, 197)  hsl(173, 87%, 47%)  Turquoise
#c50fdf  rgb(197, 15, 223)  hsl(293, 87%, 47%)  Electric Purple