#DCD212

#dcd212 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #dcd212 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.6135

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d3cfa4 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #e9d02c ≈ 1.27% of males
Tritanopia #edc3b3 ≈ 0.0001% of males
Protanomaly #e2cd00 ≈ 1.08% of males
Deuteranomaly #e4d124 ≈ 4.63% of males
Tritanomaly #e6c98f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dcd212  rgb(220, 210, 18)  hsl(57, 85%, 47%)  Citrine
#121cdc  rgb(18, 28, 220)  hsl(237, 85%, 47%)  Medium Blue
#12dcd2  rgb(18, 220, 210)  hsl(177, 85%, 47%)  Turquoise
#d212dc  rgb(210, 18, 220)  hsl(297, 85%, 47%)  Electric Purple