#D4C71D

#d4c71d ≈ Citrine

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

#d4c71d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 78.04% green and 11.37% blue; printed in CMYK it uses 0% cyan, 6.13% magenta, 86.32% yellow and 16.86% black. Its hue angle is 55.74°, with 75.93% saturation and 47.25% 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.99:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.26.

Description generated from the measured properties of this color.

Conversions of #d4c71d 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.5493

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cac59c ≈ 0.001% of males
Protanopia #dac000 ≈ 1.01% of males
Deuteranopia #dec72f ≈ 1.27% of males
Tritanopia #e5b8aa ≈ 0.0001% of males
Protanomaly #d7c300 ≈ 1.08% of males
Deuteranomaly #dac729 ≈ 4.63% of males
Tritanomaly #debe88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4c71d {
  color: #d4c71d;
}
Background
.bg-d4c71d {
  background-color: #d4c71d;
  color: #000000;
}
Border
.border-d4c71d {
  border: 2px solid #d4c71d;
}
CSS variables
:root {
  --color-primary: #d4c71d;
  --color-primary-rgb: 212 199 29;
  --color-primary-hsl: 56 76% 47%;
}
Gradient
.gradient-d4c71d {
  background: linear-gradient(135deg, #d4c71d, #85d41d);
}
Colored shadow
.shadow-d4c71d {
  box-shadow: 0 8px 24px rgb(212 199 29 / 0.35);
}

Citrine
#d4c71d  rgb(212, 199, 29)  hsl(56, 76%, 47%)  Citrine
#1d2ad4  rgb(29, 42, 212)  hsl(236, 76%, 47%)  Persian Blue
#1dd4c7  rgb(29, 212, 199)  hsl(176, 76%, 47%)  Turquoise
#c71dd4  rgb(199, 29, 212)  hsl(296, 76%, 47%)  Electric Purple