#DCDC12

#dcdc12 ≈ Titanium Yellow

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

#dcdc12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 86.27% green and 7.06% blue; printed in CMYK it uses 0% cyan, 0% magenta, 91.82% yellow and 13.73% black. Its hue angle is 60°, 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 14.29:1 (WCAG AAA). The closest named color is Titanium Yellow (#eee600), ΔE 3.31.

Description generated from the measured properties of this color.

Conversions of #dcdc12 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.6645

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #d8d8aa ≈ 0.001% of males
Protanopia #efd200 ≈ 1.01% of males
Deuteranopia #f1d72f ≈ 1.27% of males
Tritanopia #eccdbc ≈ 0.0001% of males
Protanomaly #e7d600 ≈ 1.08% of males
Deuteranomaly #e9d926 ≈ 4.63% of males
Tritanomaly #e6d395 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Titanium Yellow
#dcdc12  rgb(220, 220, 18)  hsl(60, 85%, 47%)  Titanium Yellow
#1212dc  rgb(18, 18, 220)  hsl(240, 85%, 47%)  Medium Blue
#12dcdc  rgb(18, 220, 220)  hsl(180, 85%, 47%)  Medium Turquoise
#dc12dc  rgb(220, 18, 220)  hsl(300, 85%, 47%)  Medium Orchid