#D2C121

#d2c121 ≈ Citrine

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

#d2c121 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 75.69% green and 12.94% blue; printed in CMYK it uses 0% cyan, 8.1% magenta, 84.29% yellow and 17.65% black. Its hue angle is 54.24°, with 72.84% saturation and 47.65% 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 brand accents. Black text on this color reaches a contrast ratio of 11.39:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.25.

Description generated from the measured properties of this color.

Conversions of #d2c121 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5195

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c7c099 ≈ 0.001% of males
Protanopia #d4bb00 ≈ 1.01% of males
Deuteranopia #d9c230 ≈ 1.27% of males
Tritanopia #e3b3a5 ≈ 0.0001% of males
Protanomaly #d3bd00 ≈ 1.08% of males
Deuteranomaly #d6c22b ≈ 4.63% of males
Tritanomaly #dcb884 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c121 {
  color: #d2c121;
}
Background
.bg-d2c121 {
  background-color: #d2c121;
  color: #000000;
}
Border
.border-d2c121 {
  border: 2px solid #d2c121;
}
CSS variables
:root {
  --color-primary: #d2c121;
  --color-primary-rgb: 210 193 33;
  --color-primary-hsl: 54 73% 48%;
}
Gradient
.gradient-d2c121 {
  background: linear-gradient(135deg, #d2c121, #8bd221);
}
Colored shadow
.shadow-d2c121 {
  box-shadow: 0 8px 24px rgb(210 193 33 / 0.35);
}

Citrine
#d2c121  rgb(210, 193, 33)  hsl(54, 73%, 48%)  Citrine
#2132d2  rgb(33, 50, 210)  hsl(234, 73%, 48%)  Persian Blue
#21d2c1  rgb(33, 210, 193)  hsl(174, 73%, 48%)  Turquoise
#c121d2  rgb(193, 33, 210)  hsl(294, 73%, 48%)  Electric Purple