#DDC712

#ddc712 ≈ Citrine

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

#ddc712 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.67% red, 78.04% green and 7.06% blue; printed in CMYK it uses 0% cyan, 9.95% magenta, 91.86% yellow and 13.33% black. Its hue angle is 53.5°, with 84.94% saturation and 46.86% 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.25:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #ddc712 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.5626

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cfc69e ≈ 0.001% of males
Protanopia #dbc100 ≈ 1.01% of males
Deuteranopia #e1c929 ≈ 1.27% of males
Tritanopia #efb7aa ≈ 0.0001% of males
Protanomaly #dcc300 ≈ 1.08% of males
Deuteranomaly #e0c821 ≈ 4.63% of males
Tritanomaly #e8be87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddc712 {
  color: #ddc712;
}
Background
.bg-ddc712 {
  background-color: #ddc712;
  color: #000000;
}
Border
.border-ddc712 {
  border: 2px solid #ddc712;
}
CSS variables
:root {
  --color-primary: #ddc712;
  --color-primary-rgb: 221 199 18;
  --color-primary-hsl: 54 85% 47%;
}
Gradient
.gradient-ddc712 {
  background: linear-gradient(135deg, #ddc712, #8ddd12);
}
Colored shadow
.shadow-ddc712 {
  box-shadow: 0 8px 24px rgb(221 199 18 / 0.35);
}

Citrine
#ddc712  rgb(221, 199, 18)  hsl(54, 85%, 47%)  Citrine
#1228dd  rgb(18, 40, 221)  hsl(234, 85%, 47%)  Blue
#12ddc7  rgb(18, 221, 199)  hsl(174, 85%, 47%)  Turquoise
#c712dd  rgb(199, 18, 221)  hsl(294, 85%, 47%)  Electric Purple