#DDD52F

#ddd52f ≈ Citrine

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

#ddd52f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 83.53% green and 18.43% blue; printed in CMYK it uses 0% cyan, 3.62% magenta, 78.73% yellow and 13.33% black. Its hue angle is 57.24°, with 71.9% saturation and 52.55% 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 13.63:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #ddd52f 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.6317

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d5d2a8 ≈ 0.001% of males
Protanopia #e8cd00 ≈ 1.01% of males
Deuteranopia #ebd33e ≈ 1.27% of males
Tritanopia #eec6b7 ≈ 0.0001% of males
Protanomaly #e4d017 ≈ 1.08% of males
Deuteranomaly #e6d438 ≈ 4.63% of males
Tritanomaly #e7cc94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ddd52f {
  color: #ddd52f;
}
Background
.bg-ddd52f {
  background-color: #ddd52f;
  color: #000000;
}
Border
.border-ddd52f {
  border: 2px solid #ddd52f;
}
CSS variables
:root {
  --color-primary: #ddd52f;
  --color-primary-rgb: 221 213 47;
  --color-primary-hsl: 57 72% 53%;
}
Gradient
.gradient-ddd52f {
  background: linear-gradient(135deg, #ddd52f, #8edd2f);
}
Colored shadow
.shadow-ddd52f {
  box-shadow: 0 8px 24px rgb(221 213 47 / 0.35);
}

Citrine
#ddd52f  rgb(221, 213, 47)  hsl(57, 72%, 53%)  Citrine
#2f37dd  rgb(47, 55, 221)  hsl(237, 72%, 53%)  Persian Blue
#2fddd5  rgb(47, 221, 213)  hsl(177, 72%, 53%)  Bright Turquoise
#d52fdd  rgb(213, 47, 221)  hsl(297, 72%, 53%)  Medium Orchid