#DDC42D

#ddc42d ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ddc42d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 76.86% green and 17.65% blue; printed in CMYK it uses 0% cyan, 11.31% magenta, 79.64% yellow and 13.33% black. Its hue angle is 51.48°, with 72.13% saturation and 52.16% 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 brand accents. Black text on this color reaches a contrast ratio of 12.01:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.71.

Description generated from the measured properties of this color.

Conversions of #ddc42d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5504

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cec49e ≈ 0.001% of males
Protanopia #d8bf00 ≈ 1.01% of males
Deuteranopia #dfc839 ≈ 1.27% of males
Tritanopia #efb5a8 ≈ 0.0001% of males
Protanomaly #dac119 ≈ 1.08% of males
Deuteranomaly #dec634 ≈ 4.63% of males
Tritanomaly #e8bb88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddc42d {
  color: #ddc42d;
}
Background
.bg-ddc42d {
  background-color: #ddc42d;
  color: #000000;
}
Border
.border-ddc42d {
  border: 2px solid #ddc42d;
}
CSS variables
:root {
  --color-primary: #ddc42d;
  --color-primary-rgb: 221 196 45;
  --color-primary-hsl: 51 72% 52%;
}
Gradient
.gradient-ddc42d {
  background: linear-gradient(135deg, #ddc42d, #9edd2d);
}
Colored shadow
.shadow-ddc42d {
  box-shadow: 0 8px 24px rgb(221 196 45 / 0.35);
}

Citrine
#ddc42d  rgb(221, 196, 45)  hsl(51, 72%, 52%)  Citrine
#2d46dd  rgb(45, 70, 221)  hsl(231, 72%, 52%)  Iris
#2dddc4  rgb(45, 221, 196)  hsl(171, 72%, 52%)  Turquoise
#c42ddd  rgb(196, 45, 221)  hsl(291, 72%, 52%)  Electric Purple