#DDCD0C

#ddcd0c ≈ Citrine

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

#ddcd0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.67% red, 80.39% green and 4.71% blue; printed in CMYK it uses 0% cyan, 7.24% magenta, 94.57% yellow and 13.33% black. Its hue angle is 55.41°, with 89.7% saturation and 45.69% 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.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.33.

Description generated from the measured properties of this color.

Conversions of #ddcd0c 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.5906

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d2cba1 ≈ 0.001% of males
Protanopia #e1c600 ≈ 1.01% of males
Deuteranopia #e6cd28 ≈ 1.27% of males
Tritanopia #efbeaf ≈ 0.0001% of males
Protanomaly #dfc900 ≈ 1.08% of males
Deuteranomaly #e2cd20 ≈ 4.63% of males
Tritanomaly #e8c48b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddcd0c {
  color: #ddcd0c;
}
Background
.bg-ddcd0c {
  background-color: #ddcd0c;
  color: #000000;
}
Border
.border-ddcd0c {
  border: 2px solid #ddcd0c;
}
CSS variables
:root {
  --color-primary: #ddcd0c;
  --color-primary-rgb: 221 205 12;
  --color-primary-hsl: 55 90% 46%;
}
Gradient
.gradient-ddcd0c {
  background: linear-gradient(135deg, #ddcd0c, #84dd0c);
}
Colored shadow
.shadow-ddcd0c {
  box-shadow: 0 8px 24px rgb(221 205 12 / 0.35);
}

Citrine
#ddcd0c  rgb(221, 205, 12)  hsl(55, 90%, 46%)  Citrine
#0c1cdd  rgb(12, 28, 221)  hsl(235, 90%, 46%)  Blue
#0cddcd  rgb(12, 221, 205)  hsl(175, 90%, 46%)  Turquoise
#cd0cdd  rgb(205, 12, 221)  hsl(295, 90%, 46%)  Electric Purple