#D2D217

#d2d217 ≈ Citrine

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

#d2d217 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 82.35% green and 9.02% blue; printed in CMYK it uses 0% cyan, 0% magenta, 89.05% yellow and 17.65% black. Its hue angle is 60°, with 80.26% saturation and 45.69% 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.97:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.78.

Description generated from the measured properties of this color.

Conversions of #d2d217 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.5986

Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cecea2 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #e6ce2f ≈ 1.27% of males
Tritanopia #e2c4b3 ≈ 0.0001% of males
Protanomaly #ddcc00 ≈ 1.08% of males
Deuteranomaly #decf27 ≈ 4.63% of males
Tritanomaly #dcca8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2d217 {
  color: #d2d217;
}
Background
.bg-d2d217 {
  background-color: #d2d217;
  color: #000000;
}
Border
.border-d2d217 {
  border: 2px solid #d2d217;
}
CSS variables
:root {
  --color-primary: #d2d217;
  --color-primary-rgb: 210 210 23;
  --color-primary-hsl: 60 80% 46%;
}
Gradient
.gradient-d2d217 {
  background: linear-gradient(135deg, #d2d217, #75d217);
}
Colored shadow
.shadow-d2d217 {
  box-shadow: 0 8px 24px rgb(210 210 23 / 0.35);
}

Citrine
#d2d217  rgb(210, 210, 23)  hsl(60, 80%, 46%)  Citrine
#1717d2  rgb(23, 23, 210)  hsl(240, 80%, 46%)  Medium Blue
#17d2d2  rgb(23, 210, 210)  hsl(180, 80%, 46%)  Dark Turquoise
#d217d2  rgb(210, 23, 210)  hsl(300, 80%, 46%)  Medium Orchid