#D9CD2E

#d9cd2e ≈ Citrine

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

#d9cd2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 80.39% green and 18.04% blue; printed in CMYK it uses 0% cyan, 5.53% magenta, 78.8% yellow and 14.9% black. Its hue angle is 55.79°, with 69.23% saturation and 51.57% 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.72:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #d9cd2e 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.5861

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d0cba2 ≈ 0.001% of males
Protanopia #e0c600 ≈ 1.01% of males
Deuteranopia #e4cc3c ≈ 1.27% of males
Tritanopia #eabeb0 ≈ 0.0001% of males
Protanomaly #ddc918 ≈ 1.08% of males
Deuteranomaly #e0cd37 ≈ 4.63% of males
Tritanomaly #e3c48e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9cd2e {
  color: #d9cd2e;
}
Background
.bg-d9cd2e {
  background-color: #d9cd2e;
  color: #000000;
}
Border
.border-d9cd2e {
  border: 2px solid #d9cd2e;
}
CSS variables
:root {
  --color-primary: #d9cd2e;
  --color-primary-rgb: 217 205 46;
  --color-primary-hsl: 56 69% 52%;
}
Gradient
.gradient-d9cd2e {
  background: linear-gradient(135deg, #d9cd2e, #90d92e);
}
Colored shadow
.shadow-d9cd2e {
  box-shadow: 0 8px 24px rgb(217 205 46 / 0.35);
}

Citrine
#d9cd2e  rgb(217, 205, 46)  hsl(56, 69%, 52%)  Citrine
#2e3ad9  rgb(46, 58, 217)  hsl(236, 69%, 52%)  Persian Blue
#2ed9cd  rgb(46, 217, 205)  hsl(176, 69%, 52%)  Turquoise
#cd2ed9  rgb(205, 46, 217)  hsl(296, 69%, 52%)  Medium Orchid