#D9D40C

#d9d40c ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d9d40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 85.1% red, 83.14% green and 4.71% blue; printed in CMYK it uses 0% cyan, 2.3% magenta, 94.47% yellow and 14.9% black. Its hue angle is 58.54°, with 89.52% saturation and 44.9% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.55.

Description generated from the measured properties of this color.

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

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d3d1a4 ≈ 0.001% of males
Protanopia #e7cb00 ≈ 1.01% of males
Deuteranopia #ead12a ≈ 1.27% of males
Tritanopia #eac5b5 ≈ 0.0001% of males
Protanomaly #e1cf00 ≈ 1.08% of males
Deuteranomaly #e3d222 ≈ 4.63% of males
Tritanomaly #e3cb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9d40c {
  color: #d9d40c;
}
Background
.bg-d9d40c {
  background-color: #d9d40c;
  color: #000000;
}
Border
.border-d9d40c {
  border: 2px solid #d9d40c;
}
CSS variables
:root {
  --color-primary: #d9d40c;
  --color-primary-rgb: 217 212 12;
  --color-primary-hsl: 59 90% 45%;
}
Gradient
.gradient-d9d40c {
  background: linear-gradient(135deg, #d9d40c, #77d90c);
}
Colored shadow
.shadow-d9d40c {
  box-shadow: 0 8px 24px rgb(217 212 12 / 0.35);
}

Citrine
#d9d40c  rgb(217, 212, 12)  hsl(59, 90%, 45%)  Citrine
#0c11d9  rgb(12, 17, 217)  hsl(239, 90%, 45%)  Medium Blue
#0cd9d4  rgb(12, 217, 212)  hsl(179, 90%, 45%)  Medium Turquoise
#d40cd9  rgb(212, 12, 217)  hsl(299, 90%, 45%)  Electric Purple