#DCC212

#dcc212 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #dcc212 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.5384

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #cdc29b ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #ddc627 ≈ 1.27% of males
Tritanopia #eeb2a5 ≈ 0.0001% of males
Protanomaly #d9bf00 ≈ 1.08% of males
Deuteranomaly #ddc420 ≈ 4.63% of males
Tritanomaly #e7b984 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dcc212  rgb(220, 194, 18)  hsl(52, 85%, 47%)  Citrine
#122cdc  rgb(18, 44, 220)  hsl(232, 85%, 47%)  Blue
#12dcc2  rgb(18, 220, 194)  hsl(172, 85%, 47%)  Turquoise
#c212dc  rgb(194, 18, 220)  hsl(292, 85%, 47%)  Electric Purple