#D4CD40

#d4cd40 ≈ Citrine

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

#d4cd40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 80.39% green and 25.1% blue; printed in CMYK it uses 0% cyan, 3.3% magenta, 69.81% yellow and 16.86% black. Its hue angle is 57.16°, with 63.25% saturation and 54.12% 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 12.61:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.84.

Description generated from the measured properties of this color.

Conversions of #d4cd40 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.5803

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cdcaa3 ≈ 0.001% of males
Protanopia #dec529 ≈ 1.01% of males
Deuteranopia #e1cb4a ≈ 1.27% of males
Tritanopia #e3c0b1 ≈ 0.0001% of males
Protanomaly #dac833 ≈ 1.08% of males
Deuteranomaly #dccc46 ≈ 4.63% of males
Tritanomaly #ddc591 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4cd40 {
  color: #d4cd40;
}
Background
.bg-d4cd40 {
  background-color: #d4cd40;
  color: #000000;
}
Border
.border-d4cd40 {
  border: 2px solid #d4cd40;
}
CSS variables
:root {
  --color-primary: #d4cd40;
  --color-primary-rgb: 212 205 64;
  --color-primary-hsl: 57 63% 54%;
}
Gradient
.gradient-d4cd40 {
  background: linear-gradient(135deg, #d4cd40, #91d440);
}
Colored shadow
.shadow-d4cd40 {
  box-shadow: 0 8px 24px rgb(212 205 64 / 0.35);
}

Citrine
#d4cd40  rgb(212, 205, 64)  hsl(57, 63%, 54%)  Citrine
#4047d4  rgb(64, 71, 212)  hsl(237, 63%, 54%)  Iris
#40d4cd  rgb(64, 212, 205)  hsl(177, 63%, 54%)  Medium Turquoise
#cd40d4  rgb(205, 64, 212)  hsl(297, 63%, 54%)  Medium Orchid