#D7C015

#d7c015 ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d7c015 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 75.29% green and 8.24% blue; printed in CMYK it uses 0% cyan, 10.7% magenta, 90.23% yellow and 15.69% black. Its hue angle is 52.89°, with 82.2% saturation and 46.27% 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.44:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.07.

Description generated from the measured properties of this color.

Conversions of #d7c015 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.522

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c9bf98 ≈ 0.001% of males
Protanopia #d4ba00 ≈ 1.01% of males
Deuteranopia #dac329 ≈ 1.27% of males
Tritanopia #e9b1a4 ≈ 0.0001% of males
Protanomaly #d5bd00 ≈ 1.08% of males
Deuteranomaly #d9c222 ≈ 4.63% of males
Tritanomaly #e2b782 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7c015 {
  color: #d7c015;
}
Background
.bg-d7c015 {
  background-color: #d7c015;
  color: #000000;
}
Border
.border-d7c015 {
  border: 2px solid #d7c015;
}
CSS variables
:root {
  --color-primary: #d7c015;
  --color-primary-rgb: 215 192 21;
  --color-primary-hsl: 53 82% 46%;
}
Gradient
.gradient-d7c015 {
  background: linear-gradient(135deg, #d7c015, #8dd715);
}
Colored shadow
.shadow-d7c015 {
  box-shadow: 0 8px 24px rgb(215 192 21 / 0.35);
}

Citrine
#d7c015  rgb(215, 192, 21)  hsl(53, 82%, 46%)  Citrine
#152cd7  rgb(21, 44, 215)  hsl(233, 82%, 46%)  Persian Blue
#15d7c0  rgb(21, 215, 192)  hsl(173, 82%, 46%)  Turquoise
#c015d7  rgb(192, 21, 215)  hsl(293, 82%, 46%)  Electric Purple