#D7C615

#d7c615 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #d7c615 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.5489

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #ccc59c ≈ 0.001% of males
Protanopia #d9bf00 ≈ 1.01% of males
Deuteranopia #dec72a ≈ 1.27% of males
Tritanopia #e8b7a9 ≈ 0.0001% of males
Protanomaly #d8c200 ≈ 1.08% of males
Deuteranomaly #dcc723 ≈ 4.63% of males
Tritanomaly #e2bd87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d7c615  rgb(215, 198, 21)  hsl(55, 82%, 46%)  Citrine
#1526d7  rgb(21, 38, 215)  hsl(235, 82%, 46%)  Blue
#15d7c6  rgb(21, 215, 198)  hsl(175, 82%, 46%)  Turquoise
#c615d7  rgb(198, 21, 215)  hsl(295, 82%, 46%)  Electric Purple