#D5D021

#d5d021 ≈ Citrine

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

#d5d021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 81.57% green and 12.94% blue; printed in CMYK it uses 0% cyan, 2.35% magenta, 84.51% yellow and 16.47% black. Its hue angle is 58.33°, with 73.17% saturation and 48.24% 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.87:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #d5d021 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.5937

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cfcda2 ≈ 0.001% of males
Protanopia #e2c700 ≈ 1.01% of males
Deuteranopia #e5cd34 ≈ 1.27% of males
Tritanopia #e5c2b2 ≈ 0.0001% of males
Protanomaly #ddcb00 ≈ 1.08% of males
Deuteranomaly #dfce2d ≈ 4.63% of males
Tritanomaly #dfc88e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5d021 {
  color: #d5d021;
}
Background
.bg-d5d021 {
  background-color: #d5d021;
  color: #000000;
}
Border
.border-d5d021 {
  border: 2px solid #d5d021;
}
CSS variables
:root {
  --color-primary: #d5d021;
  --color-primary-rgb: 213 208 33;
  --color-primary-hsl: 58 73% 48%;
}
Gradient
.gradient-d5d021 {
  background: linear-gradient(135deg, #d5d021, #80d521);
}
Colored shadow
.shadow-d5d021 {
  box-shadow: 0 8px 24px rgb(213 208 33 / 0.35);
}

Citrine
#d5d021  rgb(213, 208, 33)  hsl(58, 73%, 48%)  Citrine
#2126d5  rgb(33, 38, 213)  hsl(238, 73%, 48%)  Blue
#21d5d0  rgb(33, 213, 208)  hsl(178, 73%, 48%)  Medium Turquoise
#d021d5  rgb(208, 33, 213)  hsl(298, 73%, 48%)  Medium Orchid