#D0C021

#d0c021 ≈ Citrine

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

#d0c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.69% magenta, 84.13% yellow and 18.43% black. Its hue angle is 54.51°, with 72.61% saturation and 47.25% 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 11.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.6.

Description generated from the measured properties of this color.

Conversions of #d0c021 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.5122

Readable text 1.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c5bf98 ≈ 0.001% of males
Protanopia #d2ba00 ≈ 1.01% of males
Deuteranopia #d7c130 ≈ 1.27% of males
Tritanopia #e0b2a4 ≈ 0.0001% of males
Protanomaly #d1bc00 ≈ 1.08% of males
Deuteranomaly #d4c02b ≈ 4.63% of males
Tritanomaly #dab884 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0c021 {
  color: #d0c021;
}
Background
.bg-d0c021 {
  background-color: #d0c021;
  color: #000000;
}
Border
.border-d0c021 {
  border: 2px solid #d0c021;
}
CSS variables
:root {
  --color-primary: #d0c021;
  --color-primary-rgb: 208 192 33;
  --color-primary-hsl: 55 73% 47%;
}
Gradient
.gradient-d0c021 {
  background: linear-gradient(135deg, #d0c021, #88d021);
}
Colored shadow
.shadow-d0c021 {
  box-shadow: 0 8px 24px rgb(208 192 33 / 0.35);
}

Citrine
#d0c021  rgb(208, 192, 33)  hsl(55, 73%, 47%)  Citrine
#2131d0  rgb(33, 49, 208)  hsl(235, 73%, 47%)  Persian Blue
#21d0c0  rgb(33, 208, 192)  hsl(175, 73%, 47%)  Turquoise
#c021d0  rgb(192, 33, 208)  hsl(295, 73%, 47%)  Electric Purple