#D2D02C

#d2d02c ≈ Citrine

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

#d2d02c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.57% green and 17.25% blue; printed in CMYK it uses 0% cyan, 0.95% magenta, 79.05% yellow and 17.65% black. Its hue angle is 59.28°, with 65.35% saturation and 49.8% 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.8:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.77.

Description generated from the measured properties of this color.

Conversions of #d2d02c 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.59

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdcca3 ≈ 0.001% of males
Protanopia #e2c700 ≈ 1.01% of males
Deuteranopia #e4cc3b ≈ 1.27% of males
Tritanopia #e1c2b2 ≈ 0.0001% of males
Protanomaly #dbcb12 ≈ 1.08% of males
Deuteranomaly #ddce36 ≈ 4.63% of males
Tritanomaly #dbc890 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2d02c {
  color: #d2d02c;
}
Background
.bg-d2d02c {
  background-color: #d2d02c;
  color: #000000;
}
Border
.border-d2d02c {
  border: 2px solid #d2d02c;
}
CSS variables
:root {
  --color-primary: #d2d02c;
  --color-primary-rgb: 210 208 44;
  --color-primary-hsl: 59 65% 50%;
}
Gradient
.gradient-d2d02c {
  background: linear-gradient(135deg, #d2d02c, #81d22c);
}
Colored shadow
.shadow-d2d02c {
  box-shadow: 0 8px 24px rgb(210 208 44 / 0.35);
}

Citrine
#d2d02c  rgb(210, 208, 44)  hsl(59, 65%, 50%)  Citrine
#2c2ed2  rgb(44, 46, 210)  hsl(239, 65%, 50%)  Persian Blue
#2cd2d0  rgb(44, 210, 208)  hsl(179, 65%, 50%)  Medium Turquoise
#d02cd2  rgb(208, 44, 210)  hsl(299, 65%, 50%)  Medium Orchid