#D2C101

#d2c101 ≈ Citrine

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

#d2c101 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.69% green and 0.39% blue; printed in CMYK it uses 0% cyan, 8.1% magenta, 99.52% yellow and 17.65% black. Its hue angle is 55.12°, with 99.05% saturation and 41.37% 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.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.94.

Description generated from the measured properties of this color.

Conversions of #d2c101 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.5184

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c7c097 ≈ 0.001% of males
Protanopia #d4ba00 ≈ 1.01% of males
Deuteranopia #d9c221 ≈ 1.27% of males
Tritanopia #e3b2a4 ≈ 0.0001% of males
Protanomaly #d3bd00 ≈ 1.08% of males
Deuteranomaly #d6c219 ≈ 4.63% of males
Tritanomaly #dcb882 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d2c101  rgb(210, 193, 1)  hsl(55, 99%, 41%)  Citrine
#0112d2  rgb(1, 18, 210)  hsl(235, 99%, 41%)  Medium Blue
#01d2c1  rgb(1, 210, 193)  hsl(175, 99%, 41%)  Turquoise
#c101d2  rgb(193, 1, 210)  hsl(295, 99%, 41%)  Electric Purple