#D2CD3B

#d2cd3b ≈ Citrine

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

#d2cd3b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 80.39% green and 23.14% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 71.9% yellow and 17.65% black. Its hue angle is 58.01°, with 62.66% saturation and 52.75% 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.54:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.97.

Description generated from the measured properties of this color.

Conversions of #d2cd3b 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.5768

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cccaa2 ≈ 0.001% of males
Protanopia #dec520 ≈ 1.01% of males
Deuteranopia #e1ca46 ≈ 1.27% of males
Tritanopia #e1c0b1 ≈ 0.0001% of males
Protanomaly #d9c82d ≈ 1.08% of males
Deuteranomaly #dbcb42 ≈ 4.63% of males
Tritanomaly #dbc590 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cd3b {
  color: #d2cd3b;
}
Background
.bg-d2cd3b {
  background-color: #d2cd3b;
  color: #000000;
}
Border
.border-d2cd3b {
  border: 2px solid #d2cd3b;
}
CSS variables
:root {
  --color-primary: #d2cd3b;
  --color-primary-rgb: 210 205 59;
  --color-primary-hsl: 58 63% 53%;
}
Gradient
.gradient-d2cd3b {
  background: linear-gradient(135deg, #d2cd3b, #8cd23b);
}
Colored shadow
.shadow-d2cd3b {
  box-shadow: 0 8px 24px rgb(210 205 59 / 0.35);
}

Citrine
#d2cd3b  rgb(210, 205, 59)  hsl(58, 63%, 53%)  Citrine
#3b40d2  rgb(59, 64, 210)  hsl(238, 63%, 53%)  Ocean Blue
#3bd2cd  rgb(59, 210, 205)  hsl(178, 63%, 53%)  Medium Turquoise
#cd3bd2  rgb(205, 59, 210)  hsl(298, 63%, 53%)  Medium Orchid