#DFD218

#dfd218 ≈ Citrine

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

#dfd218 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 82.35% green and 9.41% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 89.24% yellow and 12.55% black. Its hue angle is 56.08°, with 80.57% saturation and 48.43% 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.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #dfd218 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.6185

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d5d0a5 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #ead12e ≈ 1.27% of males
Tritanopia #f0c3b3 ≈ 0.0001% of males
Protanomaly #e3cd00 ≈ 1.08% of males
Deuteranomaly #e6d227 ≈ 4.63% of males
Tritanomaly #eac98f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd218 {
  color: #dfd218;
}
Background
.bg-dfd218 {
  background-color: #dfd218;
  color: #000000;
}
Border
.border-dfd218 {
  border: 2px solid #dfd218;
}
CSS variables
:root {
  --color-primary: #dfd218;
  --color-primary-rgb: 223 210 24;
  --color-primary-hsl: 56 81% 48%;
}
Gradient
.gradient-dfd218 {
  background: linear-gradient(135deg, #dfd218, #88df18);
}
Colored shadow
.shadow-dfd218 {
  box-shadow: 0 8px 24px rgb(223 210 24 / 0.35);
}

Citrine
#dfd218  rgb(223, 210, 24)  hsl(56, 81%, 48%)  Citrine
#1825df  rgb(24, 37, 223)  hsl(236, 81%, 48%)  Blue
#18dfd2  rgb(24, 223, 210)  hsl(176, 81%, 48%)  Turquoise
#d218df  rgb(210, 24, 223)  hsl(296, 81%, 48%)  Electric Purple