#DCD412

#dcd412 ≈ Citrine

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

#dcd412 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 83.14% green and 7.06% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 91.82% yellow and 13.73% black. Its hue angle is 57.62°, with 84.87% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.9.

Description generated from the measured properties of this color.

Conversions of #dcd412 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.6235

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

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d4d1a5 ≈ 0.001% of males
Protanopia #e7cb00 ≈ 1.01% of males
Deuteranopia #ebd22c ≈ 1.27% of males
Tritanopia #edc5b5 ≈ 0.0001% of males
Protanomaly #e3cf00 ≈ 1.08% of males
Deuteranomaly #e5d324 ≈ 4.63% of males
Tritanomaly #e6cb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd412 {
  color: #dcd412;
}
Background
.bg-dcd412 {
  background-color: #dcd412;
  color: #000000;
}
Border
.border-dcd412 {
  border: 2px solid #dcd412;
}
CSS variables
:root {
  --color-primary: #dcd412;
  --color-primary-rgb: 220 212 18;
  --color-primary-hsl: 58 85% 47%;
}
Gradient
.gradient-dcd412 {
  background: linear-gradient(135deg, #dcd412, #7fdc12);
}
Colored shadow
.shadow-dcd412 {
  box-shadow: 0 8px 24px rgb(220 212 18 / 0.35);
}

Citrine
#dcd412  rgb(220, 212, 18)  hsl(58, 85%, 47%)  Citrine
#121adc  rgb(18, 26, 220)  hsl(238, 85%, 47%)  Medium Blue
#12dcd4  rgb(18, 220, 212)  hsl(178, 85%, 47%)  Bright Turquoise
#d412dc  rgb(212, 18, 220)  hsl(298, 85%, 47%)  Electric Purple