#D2C516

#d2c516 ≈ Citrine

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

#d2c516 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 77.25% green and 8.63% blue; printed in CMYK it uses 0% cyan, 6.19% magenta, 89.52% yellow and 17.65% black. Its hue angle is 55.85°, with 81.03% saturation and 45.49% 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 11.74:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #d2c516 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.5369

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c8c39a ≈ 0.001% of males
Protanopia #d8be00 ≈ 1.01% of males
Deuteranopia #dcc52b ≈ 1.27% of males
Tritanopia #e3b6a8 ≈ 0.0001% of males
Protanomaly #d5c100 ≈ 1.08% of males
Deuteranomaly #d8c524 ≈ 4.63% of males
Tritanomaly #dcbc86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c516 {
  color: #d2c516;
}
Background
.bg-d2c516 {
  background-color: #d2c516;
  color: #000000;
}
Border
.border-d2c516 {
  border: 2px solid #d2c516;
}
CSS variables
:root {
  --color-primary: #d2c516;
  --color-primary-rgb: 210 197 22;
  --color-primary-hsl: 56 81% 45%;
}
Gradient
.gradient-d2c516 {
  background: linear-gradient(135deg, #d2c516, #81d216);
}
Colored shadow
.shadow-d2c516 {
  box-shadow: 0 8px 24px rgb(210 197 22 / 0.35);
}

Citrine
#d2c516  rgb(210, 197, 22)  hsl(56, 81%, 45%)  Citrine
#1623d2  rgb(22, 35, 210)  hsl(236, 81%, 45%)  Medium Blue
#16d2c5  rgb(22, 210, 197)  hsl(176, 81%, 45%)  Medium Turquoise
#c516d2  rgb(197, 22, 210)  hsl(296, 81%, 45%)  Electric Purple