#D2C128

#d2c128 ≈ Citrine

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

#d2c128 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 15.69% blue; printed in CMYK it uses 0% cyan, 8.1% magenta, 80.95% yellow and 17.65% black. Its hue angle is 54°, with 68% saturation and 49.02% 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.4:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.44.

Description generated from the measured properties of this color.

Conversions of #d2c128 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.5199

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.4: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 #d9c235 ≈ 1.27% of males
Tritanopia #e3b3a5 ≈ 0.0001% of males
Protanomaly #d3bd10 ≈ 1.08% of males
Deuteranomaly #d6c230 ≈ 4.63% of males
Tritanomaly #dcb985 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d2c128  rgb(210, 193, 40)  hsl(54, 68%, 49%)  Citrine
#2839d2  rgb(40, 57, 210)  hsl(234, 68%, 49%)  Persian Blue
#28d2c1  rgb(40, 210, 193)  hsl(174, 68%, 49%)  Turquoise
#c128d2  rgb(193, 40, 210)  hsl(294, 68%, 49%)  Electric Purple