#D8D41F

#d8d41f ≈ Citrine

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

#d8d41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 83.14% green and 12.16% blue; printed in CMYK it uses 0% cyan, 1.85% magenta, 85.65% yellow and 15.29% black. Its hue angle is 58.7°, with 74.9% saturation and 48.43% 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 brand accents. Black text on this color reaches a contrast ratio of 13.36:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.91.

Description generated from the measured properties of this color.

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

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d2d0a5 ≈ 0.001% of males
Protanopia #e6cb00 ≈ 1.01% of males
Deuteranopia #e9d133 ≈ 1.27% of males
Tritanopia #e8c5b5 ≈ 0.0001% of males
Protanomaly #e1cf00 ≈ 1.08% of males
Deuteranomaly #e2d22c ≈ 4.63% of males
Tritanomaly #e2cb91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8d41f {
  color: #d8d41f;
}
Background
.bg-d8d41f {
  background-color: #d8d41f;
  color: #000000;
}
Border
.border-d8d41f {
  border: 2px solid #d8d41f;
}
CSS variables
:root {
  --color-primary: #d8d41f;
  --color-primary-rgb: 216 212 31;
  --color-primary-hsl: 59 75% 48%;
}
Gradient
.gradient-d8d41f {
  background: linear-gradient(135deg, #d8d41f, #80d81f);
}
Colored shadow
.shadow-d8d41f {
  box-shadow: 0 8px 24px rgb(216 212 31 / 0.35);
}

Citrine
#d8d41f  rgb(216, 212, 31)  hsl(59, 75%, 48%)  Citrine
#1f23d8  rgb(31, 35, 216)  hsl(239, 75%, 48%)  Blue
#1fd8d4  rgb(31, 216, 212)  hsl(179, 75%, 48%)  Medium Turquoise
#d41fd8  rgb(212, 31, 216)  hsl(299, 75%, 48%)  Medium Orchid