#D9CD2B

#d9cd2b ≈ Citrine

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

#d9cd2b 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 16.86% blue; printed in CMYK it uses 0% cyan, 5.53% magenta, 80.18% yellow and 14.9% black. Its hue angle is 55.86°, with 69.6% saturation and 50.98% 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.77.

Description generated from the measured properties of this color.

Conversions of #d9cd2b 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.5859

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 #e4cc39 ≈ 1.27% of males
Tritanopia #eabeb0 ≈ 0.0001% of males
Protanomaly #ddc911 ≈ 1.08% of males
Deuteranomaly #e0cd34 ≈ 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-d9cd2b {
  color: #d9cd2b;
}
Background
.bg-d9cd2b {
  background-color: #d9cd2b;
  color: #000000;
}
Border
.border-d9cd2b {
  border: 2px solid #d9cd2b;
}
CSS variables
:root {
  --color-primary: #d9cd2b;
  --color-primary-rgb: 217 205 43;
  --color-primary-hsl: 56 70% 51%;
}
Gradient
.gradient-d9cd2b {
  background: linear-gradient(135deg, #d9cd2b, #8ed92b);
}
Colored shadow
.shadow-d9cd2b {
  box-shadow: 0 8px 24px rgb(217 205 43 / 0.35);
}

Citrine
#d9cd2b  rgb(217, 205, 43)  hsl(56, 70%, 51%)  Citrine
#2b37d9  rgb(43, 55, 217)  hsl(236, 70%, 51%)  Persian Blue
#2bd9cd  rgb(43, 217, 205)  hsl(176, 70%, 51%)  Turquoise
#cd2bd9  rgb(205, 43, 217)  hsl(296, 70%, 51%)  Medium Orchid