#DFC815

#dfc815 ≈ Citrine

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

#dfc815 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 78.43% green and 8.24% blue; printed in CMYK it uses 0% cyan, 10.31% magenta, 90.58% yellow and 12.55% black. Its hue angle is 53.17°, with 82.79% saturation and 47.84% 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.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #dfc815 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.5705

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #d1c79f ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #e3cb2a ≈ 1.27% of males
Tritanopia #f1b8ab ≈ 0.0001% of males
Protanomaly #ddc400 ≈ 1.08% of males
Deuteranomaly #e1ca23 ≈ 4.63% of males
Tritanomaly #eabf88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfc815 {
  color: #dfc815;
}
Background
.bg-dfc815 {
  background-color: #dfc815;
  color: #000000;
}
Border
.border-dfc815 {
  border: 2px solid #dfc815;
}
CSS variables
:root {
  --color-primary: #dfc815;
  --color-primary-rgb: 223 200 21;
  --color-primary-hsl: 53 83% 48%;
}
Gradient
.gradient-dfc815 {
  background: linear-gradient(135deg, #dfc815, #91df15);
}
Colored shadow
.shadow-dfc815 {
  box-shadow: 0 8px 24px rgb(223 200 21 / 0.35);
}

Citrine
#dfc815  rgb(223, 200, 21)  hsl(53, 83%, 48%)  Citrine
#152cdf  rgb(21, 44, 223)  hsl(233, 83%, 48%)  Blue
#15dfc8  rgb(21, 223, 200)  hsl(173, 83%, 48%)  Turquoise
#c815df  rgb(200, 21, 223)  hsl(293, 83%, 48%)  Electric Purple