#D7D321

#d7d321 ≈ Citrine

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

#d7d321 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 82.75% green and 12.94% blue; printed in CMYK it uses 0% cyan, 1.86% magenta, 84.65% yellow and 15.69% black. Its hue angle is 58.68°, with 73.39% saturation and 48.63% 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 13.23:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.94.

Description generated from the measured properties of this color.

Conversions of #d7d321 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.6115

Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d1d0a4 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #e8d034 ≈ 1.27% of males
Tritanopia #e7c5b4 ≈ 0.0001% of males
Protanomaly #e0ce00 ≈ 1.08% of males
Deuteranomaly #e1d12e ≈ 4.63% of males
Tritanomaly #e1ca90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7d321 {
  color: #d7d321;
}
Background
.bg-d7d321 {
  background-color: #d7d321;
  color: #000000;
}
Border
.border-d7d321 {
  border: 2px solid #d7d321;
}
CSS variables
:root {
  --color-primary: #d7d321;
  --color-primary-rgb: 215 211 33;
  --color-primary-hsl: 59 73% 49%;
}
Gradient
.gradient-d7d321 {
  background: linear-gradient(135deg, #d7d321, #80d721);
}
Colored shadow
.shadow-d7d321 {
  box-shadow: 0 8px 24px rgb(215 211 33 / 0.35);
}

Citrine
#d7d321  rgb(215, 211, 33)  hsl(59, 73%, 49%)  Citrine
#2125d7  rgb(33, 37, 215)  hsl(239, 73%, 49%)  Blue
#21d7d3  rgb(33, 215, 211)  hsl(179, 73%, 49%)  Medium Turquoise
#d321d7  rgb(211, 33, 215)  hsl(299, 73%, 49%)  Medium Orchid