#DDCC28

#ddcc28 ≈ Citrine

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

#ddcc28 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 80% green and 15.69% blue; printed in CMYK it uses 0% cyan, 7.69% magenta, 81.9% yellow and 13.33% black. Its hue angle is 54.36°, with 72.69% saturation and 51.18% 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.74:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.92.

Description generated from the measured properties of this color.

Conversions of #ddcc28 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.5871

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d2caa2 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e5cd37 ≈ 1.27% of males
Tritanopia #eebdaf ≈ 0.0001% of males
Protanomaly #dec809 ≈ 1.08% of males
Deuteranomaly #e2cd31 ≈ 4.63% of males
Tritanomaly #e8c38d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddcc28 {
  color: #ddcc28;
}
Background
.bg-ddcc28 {
  background-color: #ddcc28;
  color: #000000;
}
Border
.border-ddcc28 {
  border: 2px solid #ddcc28;
}
CSS variables
:root {
  --color-primary: #ddcc28;
  --color-primary-rgb: 221 204 40;
  --color-primary-hsl: 54 73% 51%;
}
Gradient
.gradient-ddcc28 {
  background: linear-gradient(135deg, #ddcc28, #94dd28);
}
Colored shadow
.shadow-ddcc28 {
  box-shadow: 0 8px 24px rgb(221 204 40 / 0.35);
}

Citrine
#ddcc28  rgb(221, 204, 40)  hsl(54, 73%, 51%)  Citrine
#2839dd  rgb(40, 57, 221)  hsl(234, 73%, 51%)  Persian Blue
#28ddcc  rgb(40, 221, 204)  hsl(174, 73%, 51%)  Turquoise
#cc28dd  rgb(204, 40, 221)  hsl(294, 73%, 51%)  Medium Orchid