#DFD30F

#dfd30f ≈ Citrine

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

#dfd30f 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.75% green and 5.88% blue; printed in CMYK it uses 0% cyan, 5.38% magenta, 93.27% yellow and 12.55% black. Its hue angle is 56.54°, 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 13.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #dfd30f 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.6231

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d6d1a5 ≈ 0.001% of males
Protanopia #e7cb00 ≈ 1.01% of males
Deuteranopia #ebd22b ≈ 1.27% of males
Tritanopia #f1c4b4 ≈ 0.0001% of males
Protanomaly #e4ce00 ≈ 1.08% of males
Deuteranomaly #e6d222 ≈ 4.63% of males
Tritanomaly #eaca8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dfd30f  rgb(223, 211, 15)  hsl(57, 87%, 47%)  Citrine
#0f1bdf  rgb(15, 27, 223)  hsl(237, 87%, 47%)  Blue
#0fdfd3  rgb(15, 223, 211)  hsl(177, 87%, 47%)  Turquoise
#d30fdf  rgb(211, 15, 223)  hsl(297, 87%, 47%)  Electric Purple