#D0C313

#d0c313 ≈ Citrine

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

#d0c313 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 76.47% green and 7.45% blue; printed in CMYK it uses 0% cyan, 6.25% magenta, 90.87% yellow and 18.43% black. Its hue angle is 55.87°, with 83.26% saturation and 44.51% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 11.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.02.

Description generated from the measured properties of this color.

Conversions of #d0c313 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5249

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c6c199 ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #dac329 ≈ 1.27% of males
Tritanopia #e0b5a6 ≈ 0.0001% of males
Protanomaly #d3bf00 ≈ 1.08% of males
Deuteranomaly #d6c322 ≈ 4.63% of males
Tritanomaly #daba84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0c313 {
  color: #d0c313;
}
Background
.bg-d0c313 {
  background-color: #d0c313;
  color: #000000;
}
Border
.border-d0c313 {
  border: 2px solid #d0c313;
}
CSS variables
:root {
  --color-primary: #d0c313;
  --color-primary-rgb: 208 195 19;
  --color-primary-hsl: 56 83% 45%;
}
Gradient
.gradient-d0c313 {
  background: linear-gradient(135deg, #d0c313, #7fd013);
}
Colored shadow
.shadow-d0c313 {
  box-shadow: 0 8px 24px rgb(208 195 19 / 0.35);
}

Citrine
#d0c313  rgb(208, 195, 19)  hsl(56, 83%, 45%)  Citrine
#1320d0  rgb(19, 32, 208)  hsl(236, 83%, 45%)  Medium Blue
#13d0c3  rgb(19, 208, 195)  hsl(176, 83%, 45%)  Medium Turquoise
#c313d0  rgb(195, 19, 208)  hsl(296, 83%, 45%)  Electric Purple