#DDCC07

#ddcc07 ≈ Citrine

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

#ddcc07 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% green and 2.75% blue; printed in CMYK it uses 0% cyan, 7.69% magenta, 96.83% yellow and 13.33% black. Its hue angle is 55.23°, with 93.86% 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.71:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.31.

Description generated from the measured properties of this color.

Conversions of #ddcc07 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.5857

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d1caa0 ≈ 0.001% of males
Protanopia #e0c500 ≈ 1.01% of males
Deuteranopia #e5cd26 ≈ 1.27% of males
Tritanopia #efbcae ≈ 0.0001% of males
Protanomaly #dfc800 ≈ 1.08% of males
Deuteranomaly #e2cc1d ≈ 4.63% of males
Tritanomaly #e8c38a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddcc07 {
  color: #ddcc07;
}
Background
.bg-ddcc07 {
  background-color: #ddcc07;
  color: #000000;
}
Border
.border-ddcc07 {
  border: 2px solid #ddcc07;
}
CSS variables
:root {
  --color-primary: #ddcc07;
  --color-primary-rgb: 221 204 7;
  --color-primary-hsl: 55 94% 45%;
}
Gradient
.gradient-ddcc07 {
  background: linear-gradient(135deg, #ddcc07, #83dd07);
}
Colored shadow
.shadow-ddcc07 {
  box-shadow: 0 8px 24px rgb(221 204 7 / 0.35);
}

Citrine
#ddcc07  rgb(221, 204, 7)  hsl(55, 94%, 45%)  Citrine
#0718dd  rgb(7, 24, 221)  hsl(235, 94%, 45%)  Medium Blue
#07ddcc  rgb(7, 221, 204)  hsl(175, 94%, 45%)  Turquoise
#cc07dd  rgb(204, 7, 221)  hsl(295, 94%, 45%)  Electric Purple