#DFC812

#dfc812 ≈ Citrine

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

#dfc812 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 7.06% blue; printed in CMYK it uses 0% cyan, 10.31% magenta, 91.93% yellow and 12.55% black. Its hue angle is 53.27°, with 85.06% saturation and 47.25% 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.06.

Description generated from the measured properties of this color.

Conversions of #dfc812 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.5704

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 #e3cb29 ≈ 1.27% of males
Tritanopia #f1b8ab ≈ 0.0001% of males
Protanomaly #ddc400 ≈ 1.08% of males
Deuteranomaly #e1ca21 ≈ 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-dfc812 {
  color: #dfc812;
}
Background
.bg-dfc812 {
  background-color: #dfc812;
  color: #000000;
}
Border
.border-dfc812 {
  border: 2px solid #dfc812;
}
CSS variables
:root {
  --color-primary: #dfc812;
  --color-primary-rgb: 223 200 18;
  --color-primary-hsl: 53 85% 47%;
}
Gradient
.gradient-dfc812 {
  background: linear-gradient(135deg, #dfc812, #8fdf12);
}
Colored shadow
.shadow-dfc812 {
  box-shadow: 0 8px 24px rgb(223 200 18 / 0.35);
}

Citrine
#dfc812  rgb(223, 200, 18)  hsl(53, 85%, 47%)  Citrine
#1229df  rgb(18, 41, 223)  hsl(233, 85%, 47%)  Blue
#12dfc8  rgb(18, 223, 200)  hsl(173, 85%, 47%)  Turquoise
#c812df  rgb(200, 18, 223)  hsl(293, 85%, 47%)  Electric Purple