#DCCD04

#dccd04 ≈ Citrine

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

#dccd04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 80.39% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.82% magenta, 98.18% yellow and 13.73% black. Its hue angle is 55.83°, with 96.43% saturation and 43.92% 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.78:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.51.

Description generated from the measured properties of this color.

Conversions of #dccd04 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.5889

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d1cba0 ≈ 0.001% of males
Protanopia #e1c600 ≈ 1.01% of males
Deuteranopia #e6cd25 ≈ 1.27% of males
Tritanopia #eebeae ≈ 0.0001% of males
Protanomaly #dfc900 ≈ 1.08% of males
Deuteranomaly #e2cd1c ≈ 4.63% of males
Tritanomaly #e7c48a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dccd04 {
  color: #dccd04;
}
Background
.bg-dccd04 {
  background-color: #dccd04;
  color: #000000;
}
Border
.border-dccd04 {
  border: 2px solid #dccd04;
}
CSS variables
:root {
  --color-primary: #dccd04;
  --color-primary-rgb: 220 205 4;
  --color-primary-hsl: 56 96% 44%;
}
Gradient
.gradient-dccd04 {
  background: linear-gradient(135deg, #dccd04, #7fdc04);
}
Colored shadow
.shadow-dccd04 {
  box-shadow: 0 8px 24px rgb(220 205 4 / 0.35);
}

Citrine
#dccd04  rgb(220, 205, 4)  hsl(56, 96%, 44%)  Citrine
#0413dc  rgb(4, 19, 220)  hsl(236, 96%, 44%)  Medium Blue
#04dccd  rgb(4, 220, 205)  hsl(176, 96%, 44%)  Turquoise
#cd04dc  rgb(205, 4, 220)  hsl(296, 96%, 44%)  Electric Purple