#D8D307

#d8d307 ≈ Citrine

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

#d8d307 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 82.75% green and 2.75% blue; printed in CMYK it uses 0% cyan, 2.31% magenta, 96.76% yellow and 15.29% black. Its hue angle is 58.56°, with 93.72% saturation and 43.73% 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.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #d8d307 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.612

Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d2d0a3 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #e9d029 ≈ 1.27% of males
Tritanopia #e9c4b4 ≈ 0.0001% of males
Protanomaly #e0ce00 ≈ 1.08% of males
Deuteranomaly #e2d11f ≈ 4.63% of males
Tritanomaly #e2ca8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8d307 {
  color: #d8d307;
}
Background
.bg-d8d307 {
  background-color: #d8d307;
  color: #000000;
}
Border
.border-d8d307 {
  border: 2px solid #d8d307;
}
CSS variables
:root {
  --color-primary: #d8d307;
  --color-primary-rgb: 216 211 7;
  --color-primary-hsl: 59 94% 44%;
}
Gradient
.gradient-d8d307 {
  background: linear-gradient(135deg, #d8d307, #75d807);
}
Colored shadow
.shadow-d8d307 {
  box-shadow: 0 8px 24px rgb(216 211 7 / 0.35);
}

Citrine
#d8d307  rgb(216, 211, 7)  hsl(59, 94%, 44%)  Citrine
#070cd8  rgb(7, 12, 216)  hsl(239, 94%, 44%)  Medium Blue
#07d8d3  rgb(7, 216, 211)  hsl(179, 94%, 44%)  Medium Turquoise
#d307d8  rgb(211, 7, 216)  hsl(299, 94%, 44%)  Electric Purple