#D7D117

#d7d117 ≈ Citrine

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

#d7d117 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 81.96% green and 9.02% blue; printed in CMYK it uses 0% cyan, 2.79% magenta, 89.3% yellow and 15.69% black. Its hue angle is 58.13°, with 80.67% saturation and 46.67% 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 13.02:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #d7d117 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.6011

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d0cea3 ≈ 0.001% of males
Protanopia #e4c800 ≈ 1.01% of males
Deuteranopia #e7ce2e ≈ 1.27% of males
Tritanopia #e7c2b2 ≈ 0.0001% of males
Protanomaly #dfcc00 ≈ 1.08% of males
Deuteranomaly #e1cf27 ≈ 4.63% of males
Tritanomaly #e1c88e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7d117 {
  color: #d7d117;
}
Background
.bg-d7d117 {
  background-color: #d7d117;
  color: #000000;
}
Border
.border-d7d117 {
  border: 2px solid #d7d117;
}
CSS variables
:root {
  --color-primary: #d7d117;
  --color-primary-rgb: 215 209 23;
  --color-primary-hsl: 58 81% 47%;
}
Gradient
.gradient-d7d117 {
  background: linear-gradient(135deg, #d7d117, #7dd717);
}
Colored shadow
.shadow-d7d117 {
  box-shadow: 0 8px 24px rgb(215 209 23 / 0.35);
}

Citrine
#d7d117  rgb(215, 209, 23)  hsl(58, 81%, 47%)  Citrine
#171dd7  rgb(23, 29, 215)  hsl(238, 81%, 47%)  Medium Blue
#17d7d1  rgb(23, 215, 209)  hsl(178, 81%, 47%)  Medium Turquoise
#d117d7  rgb(209, 23, 215)  hsl(298, 81%, 47%)  Medium Orchid