#D2CD07

#d2cd07 ≈ Citrine

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

#d2cd07 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 80.39% green and 2.75% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 96.67% yellow and 17.65% black. Its hue angle is 58.52°, with 93.55% saturation and 42.55% 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.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #d2cd07 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.5738

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #ccca9f ≈ 0.001% of males
Protanopia #dfc400 ≈ 1.01% of males
Deuteranopia #e2ca27 ≈ 1.27% of males
Tritanopia #e2bfae ≈ 0.0001% of males
Protanomaly #dac800 ≈ 1.08% of males
Deuteranomaly #dccb1e ≈ 4.63% of males
Tritanomaly #dcc48b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cd07 {
  color: #d2cd07;
}
Background
.bg-d2cd07 {
  background-color: #d2cd07;
  color: #000000;
}
Border
.border-d2cd07 {
  border: 2px solid #d2cd07;
}
CSS variables
:root {
  --color-primary: #d2cd07;
  --color-primary-rgb: 210 205 7;
  --color-primary-hsl: 59 94% 43%;
}
Gradient
.gradient-d2cd07 {
  background: linear-gradient(135deg, #d2cd07, #72d207);
}
Colored shadow
.shadow-d2cd07 {
  box-shadow: 0 8px 24px rgb(210 205 7 / 0.35);
}

Citrine
#d2cd07  rgb(210, 205, 7)  hsl(59, 94%, 43%)  Citrine
#070cd2  rgb(7, 12, 210)  hsl(239, 94%, 43%)  Medium Blue
#07d2cd  rgb(7, 210, 205)  hsl(179, 94%, 43%)  Medium Turquoise
#cd07d2  rgb(205, 7, 210)  hsl(299, 94%, 43%)  Electric Purple