#DCC808

#dcc808 ≈ Citrine

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

#dcc808 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 3.14% blue; printed in CMYK it uses 0% cyan, 9.09% magenta, 96.36% yellow and 13.73% black. Its hue angle is 54.34°, with 92.98% saturation and 44.71% 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.97.

Description generated from the measured properties of this color.

Conversions of #dcc808 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.5654

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 #dcc100 ≈ 1.01% of males
Deuteranopia #e2ca25 ≈ 1.27% of males
Tritanopia #eeb8aa ≈ 0.0001% of males
Protanomaly #dcc400 ≈ 1.08% of males
Deuteranomaly #e0c91d ≈ 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-dcc808 {
  color: #dcc808;
}
Background
.bg-dcc808 {
  background-color: #dcc808;
  color: #000000;
}
Border
.border-dcc808 {
  border: 2px solid #dcc808;
}
CSS variables
:root {
  --color-primary: #dcc808;
  --color-primary-rgb: 220 200 8;
  --color-primary-hsl: 54 93% 45%;
}
Gradient
.gradient-dcc808 {
  background: linear-gradient(135deg, #dcc808, #86dc08);
}
Colored shadow
.shadow-dcc808 {
  box-shadow: 0 8px 24px rgb(220 200 8 / 0.35);
}

Citrine
#dcc808  rgb(220, 200, 8)  hsl(54, 93%, 45%)  Citrine
#081cdc  rgb(8, 28, 220)  hsl(234, 93%, 45%)  Medium Blue
#08dcc8  rgb(8, 220, 200)  hsl(174, 93%, 45%)  Turquoise
#c808dc  rgb(200, 8, 220)  hsl(294, 93%, 45%)  Electric Purple