#DDCD12

#ddcd12 ≈ Citrine

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

#ddcd12 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 7.06% blue; printed in CMYK it uses 0% cyan, 7.24% magenta, 91.86% yellow and 13.33% black. Its hue angle is 55.27°, 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.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.37.

Description generated from the measured properties of this color.

Conversions of #ddcd12 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.5908

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.82: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 #e6cd2a ≈ 1.27% of males
Tritanopia #efbeaf ≈ 0.0001% of males
Protanomaly #dfc900 ≈ 1.08% of males
Deuteranomaly #e2cd23 ≈ 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-ddcd12 {
  color: #ddcd12;
}
Background
.bg-ddcd12 {
  background-color: #ddcd12;
  color: #000000;
}
Border
.border-ddcd12 {
  border: 2px solid #ddcd12;
}
CSS variables
:root {
  --color-primary: #ddcd12;
  --color-primary-rgb: 221 205 18;
  --color-primary-hsl: 55 85% 47%;
}
Gradient
.gradient-ddcd12 {
  background: linear-gradient(135deg, #ddcd12, #87dd12);
}
Colored shadow
.shadow-ddcd12 {
  box-shadow: 0 8px 24px rgb(221 205 18 / 0.35);
}

Citrine
#ddcd12  rgb(221, 205, 18)  hsl(55, 85%, 47%)  Citrine
#1222dd  rgb(18, 34, 221)  hsl(235, 85%, 47%)  Blue
#12ddcd  rgb(18, 221, 205)  hsl(175, 85%, 47%)  Turquoise
#cd12dd  rgb(205, 18, 221)  hsl(295, 85%, 47%)  Electric Purple