#D2C200

#d2c200 ≈ Citrine

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

#d2c200 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 76.08% green and 0% blue; printed in CMYK it uses 0% cyan, 7.62% magenta, 100% yellow and 17.65% black. Its hue angle is 55.43°, with 100% saturation and 41.18% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #d2c200 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.5229

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c7c098 ≈ 0.001% of males
Protanopia #d5bb00 ≈ 1.01% of males
Deuteranopia #dac321 ≈ 1.27% of males
Tritanopia #e3b3a5 ≈ 0.0001% of males
Protanomaly #d4be00 ≈ 1.08% of males
Deuteranomaly #d7c218 ≈ 4.63% of males
Tritanomaly #dcb983 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c200 {
  color: #d2c200;
}
Background
.bg-d2c200 {
  background-color: #d2c200;
  color: #000000;
}
Border
.border-d2c200 {
  border: 2px solid #d2c200;
}
CSS variables
:root {
  --color-primary: #d2c200;
  --color-primary-rgb: 210 194 0;
  --color-primary-hsl: 55 100% 41%;
}
Gradient
.gradient-d2c200 {
  background: linear-gradient(135deg, #d2c200, #79d200);
}
Colored shadow
.shadow-d2c200 {
  box-shadow: 0 8px 24px rgb(210 194 0 / 0.35);
}

Citrine
#d2c200  rgb(210, 194, 0)  hsl(55, 100%, 41%)  Citrine
#0010d2  rgb(0, 16, 210)  hsl(235, 100%, 41%)  Medium Blue
#00d2c2  rgb(0, 210, 194)  hsl(175, 100%, 41%)  Turquoise
#c200d2  rgb(194, 0, 210)  hsl(295, 100%, 41%)  Electric Purple