#D2C005

#d2c005 ≈ Citrine

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

#d2c005 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 75.29% green and 1.96% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 97.62% yellow and 17.65% black. Its hue angle is 54.73°, with 95.35% saturation and 42.16% 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.28:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #d2c005 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.5141

Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c6bf97 ≈ 0.001% of males
Protanopia #d3ba00 ≈ 1.01% of males
Deuteranopia #d8c123 ≈ 1.27% of males
Tritanopia #e3b1a3 ≈ 0.0001% of males
Protanomaly #d3bc00 ≈ 1.08% of males
Deuteranomaly #d6c11a ≈ 4.63% of males
Tritanomaly #dcb781 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c005 {
  color: #d2c005;
}
Background
.bg-d2c005 {
  background-color: #d2c005;
  color: #000000;
}
Border
.border-d2c005 {
  border: 2px solid #d2c005;
}
CSS variables
:root {
  --color-primary: #d2c005;
  --color-primary-rgb: 210 192 5;
  --color-primary-hsl: 55 95% 42%;
}
Gradient
.gradient-d2c005 {
  background: linear-gradient(135deg, #d2c005, #7ed205);
}
Colored shadow
.shadow-d2c005 {
  box-shadow: 0 8px 24px rgb(210 192 5 / 0.35);
}

Citrine
#d2c005  rgb(210, 192, 5)  hsl(55, 95%, 42%)  Citrine
#0517d2  rgb(5, 23, 210)  hsl(235, 95%, 42%)  Medium Blue
#05d2c0  rgb(5, 210, 192)  hsl(175, 95%, 42%)  Turquoise
#c005d2  rgb(192, 5, 210)  hsl(295, 95%, 42%)  Electric Purple