#DCC80C

#dcc80c ≈ Citrine

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

#dcc80c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 78.43% green and 4.71% blue; printed in CMYK it uses 0% cyan, 9.09% magenta, 94.55% yellow and 13.73% black. Its hue angle is 54.23°, with 89.66% saturation and 45.49% 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.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.99.

Description generated from the measured properties of this color.

Conversions of #dcc80c 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.5655

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cfc79e ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #e2ca27 ≈ 1.27% of males
Tritanopia #eeb8aa ≈ 0.0001% of males
Protanomaly #dcc400 ≈ 1.08% of males
Deuteranomaly #e0c91f ≈ 4.63% of males
Tritanomaly #e7bf87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcc80c {
  color: #dcc80c;
}
Background
.bg-dcc80c {
  background-color: #dcc80c;
  color: #000000;
}
Border
.border-dcc80c {
  border: 2px solid #dcc80c;
}
CSS variables
:root {
  --color-primary: #dcc80c;
  --color-primary-rgb: 220 200 12;
  --color-primary-hsl: 54 90% 45%;
}
Gradient
.gradient-dcc80c {
  background: linear-gradient(135deg, #dcc80c, #88dc0c);
}
Colored shadow
.shadow-dcc80c {
  box-shadow: 0 8px 24px rgb(220 200 12 / 0.35);
}

Citrine
#dcc80c  rgb(220, 200, 12)  hsl(54, 90%, 45%)  Citrine
#0c20dc  rgb(12, 32, 220)  hsl(234, 90%, 45%)  Blue
#0cdcc8  rgb(12, 220, 200)  hsl(174, 90%, 45%)  Turquoise
#c80cdc  rgb(200, 12, 220)  hsl(294, 90%, 45%)  Electric Purple