#D4C331

#d4c331 ≈ Citrine

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

#d4c331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 76.47% green and 19.22% blue; printed in CMYK it uses 0% cyan, 8.02% magenta, 76.89% yellow and 16.86% black. Its hue angle is 53.74°, with 65.46% saturation and 51.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 brand accents. Black text on this color reaches a contrast ratio of 11.65:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.28.

Description generated from the measured properties of this color.

Conversions of #d4c331 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.5325

Readable text 1.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #c9c29c ≈ 0.001% of males
Protanopia #d5bd0b ≈ 1.01% of males
Deuteranopia #dac43c ≈ 1.27% of males
Tritanopia #e4b5a8 ≈ 0.0001% of males
Protanomaly #d5bf20 ≈ 1.08% of males
Deuteranomaly #d8c438 ≈ 4.63% of males
Tritanomaly #debb88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4c331 {
  color: #d4c331;
}
Background
.bg-d4c331 {
  background-color: #d4c331;
  color: #000000;
}
Border
.border-d4c331 {
  border: 2px solid #d4c331;
}
CSS variables
:root {
  --color-primary: #d4c331;
  --color-primary-rgb: 212 195 49;
  --color-primary-hsl: 54 65% 51%;
}
Gradient
.gradient-d4c331 {
  background: linear-gradient(135deg, #d4c331, #94d431);
}
Colored shadow
.shadow-d4c331 {
  box-shadow: 0 8px 24px rgb(212 195 49 / 0.35);
}

Citrine
#d4c331  rgb(212, 195, 49)  hsl(54, 65%, 51%)  Citrine
#3142d4  rgb(49, 66, 212)  hsl(234, 65%, 51%)  Persian Blue
#31d4c3  rgb(49, 212, 195)  hsl(174, 65%, 51%)  Turquoise
#c331d4  rgb(195, 49, 212)  hsl(294, 65%, 51%)  Medium Orchid