#DDC702

#ddc702 ≈ Citrine

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

#ddc702 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 0.78% blue; printed in CMYK it uses 0% cyan, 9.95% magenta, 99.1% yellow and 13.33% black. Its hue angle is 53.97°, with 98.21% saturation and 43.73% 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.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.18.

Description generated from the measured properties of this color.

Conversions of #ddc702 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.5622

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cfc69d ≈ 0.001% of males
Protanopia #dbc100 ≈ 1.01% of males
Deuteranopia #e2c923 ≈ 1.27% of males
Tritanopia #efb7a9 ≈ 0.0001% of males
Protanomaly #dcc300 ≈ 1.08% of males
Deuteranomaly #e0c81a ≈ 4.63% of males
Tritanomaly #e8be86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#ddc702  rgb(221, 199, 2)  hsl(54, 98%, 44%)  Citrine
#0218dd  rgb(2, 24, 221)  hsl(234, 98%, 44%)  Medium Blue
#02ddc7  rgb(2, 221, 199)  hsl(174, 98%, 44%)  Turquoise
#c702dd  rgb(199, 2, 221)  hsl(294, 98%, 44%)  Electric Purple